Afficher un message
Vieux 29/04/2008, 10h29   #12
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DIV borders different in IE7 when in td

Scripsit Davo:

>> Specifically, in "quirks mode", a block with declared width may
>> expand when overflow occurs. By the specifications, it does not. (By
>> default, the textual or other content just overflows, outside the
>> block's box and any eventual border.)

>
> We're not in quirks mode.


You're still not posting properly (lack of attribution), though perhaps
getting better.

You're still in a wrong group.

> The div block should inherit the container
> box size is my understanding,


You understanding of _inheritance_ is then flawed. That's not uncommon
of course; only perhaps 1 author out of 100 understands the concept
correctly. But we're in a wrong group, and you need to read a good CSS
tutorial before you can start understanding explanations.

> In both FF2 and
> IE6 the div inherited the container (td) width when the contained
> text expands the block (which is how it should work), in IE7 the
> behaviour seems to have changed.


This does not happen in quirks mode in IE 7, so they probably regard
this as a fix. You're probably right in assuming that this is wrong, but
your initial explanations were fairly misleading (like speaking about
"fixed width" cell and referring to borders, as if the borders and not
the block size were the issue - and not posting a URL initially).

In fact, the IE 7 bug may well result from a misunderstanding of
inheritance...

Besides, that's a CSS issue. This is an HTML group.

> Perhaps *you* should think a little before shooting off your mouth
> ;-), if you have something to contribute then thanks, otherwise
> perhaps stick to areas you know.


Would really consider honoring a person who makes such a personal
accusation or at least nasty remarks against a named person in public,
himself hiding behind a nickname like a coward?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
 
Page generated in 0,05477 seconds with 9 queries