![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
oops - its at http://members.iinet.com.au/~da... (... (DOT) com.au/ |
#4
| |||
| |||
|
|
Not found. Try using em instead of pixels for your font-size units Not sure what you received it didn't seem to be what I sent try |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I spoke to soon, changing to em just hid the problem, effectively changing the size to a couple of hundred px. Any other ideas are welcome. |
#7
| |||
| |||
|
|
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.) |
#8
| |||
| |||
|
|
Scripsit Davo: I spoke to soon, changing to em just hid the problem, effectively changing the size to a couple of hundred px. Any other ideas are welcome. Try learning how to post to Usenet. Try learning how to post to the right group. This group is for HTML, not CSS. Decide whether you want to work in "quirks mode" or not. This depends on whether you are working with some existing mess or creating a new page. See http://www.cs.tut.fi/~jkorpela/quirks-mode.html 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.) |
#9
| ||||
| ||||
|
|
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. |
|
The div block should inherit the container box size is my understanding, after having a little reread of the box model docs I still think that is how it should work. |
|
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. |
#10
| |||
| |||
|
|
OP's actual example was different from his description. This is his URL: http://members.iinet.com.au/~daven (... (DOT) com.au/ He's actually set the 64px on the TD, not on the DIV. |
![]() |
| Thread Tools | |
| Display Modes | |
| |