![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Must be because the link boxes are having "pack width" as opposed to "max width". By setting width:100% for LI elements eliminates the gaps. |
#12
| |||
| |||
|
|
btw if you decided to force W3C on IE, then play by the rules ;-) In CSS1Compat mode there are not default measurement units, so IE has all rights to ignore margin:0 declaration. It doesn't do it of a good of its heart :-) but margin: 0px 0px would be more appropriate. |
#13
| |||
| |||
|
|
VK wrote: simply open the OP's link in IE 6, File > Save As > Web page complete. You will get the normalized version of the page: not what is served from the server, but what IE sees internally. I forgot to mention that it also will reveal the sad fact that your XHTML declaration goes by the "Unrecognized DTD" rule as spelled in the same article (which I hope you already printed out and finished fixing on the wall near of your computer :-) |
|
So any XHTML (even the most Strict) in IE becomes "-//W3C//DTD HTML 4.01 Transitional//EN" pollued with all kind of trash all around :-( ;-) |
#14
| |||
| |||
|
|
Funny, I used to use units for zero measurements, but having seen people here say many times that you don't need them, I thought I'd be al grown up and leave them off. Looks like I should have stuck with my old habits!! |
#15
| |||
| |||
|
|
In article <1146130221.093067.187400 (AT) u72g2000cwu (DOT) googlegroups.com>, VK schools_ring (AT) yahoo (DOT) com> writes Must be because the link boxes are having "pack width" as opposed to "max width". By setting width:100% for LI elements eliminates the gaps. Thanks, that was the simplest solution. |
#16
| |||
| |||
|
|
On 27/04/2006 16:03, Alan Silver wrote: Funny, I used to use units for zero measurements, but having seen people here say many times that you don't need them, I thought I'd be al grown up and leave them off. Looks like I should have stuck with my old habits!! When the majority say something - in this case, that units are optional for zero length values - and VK says something else, ignore the latter. |
#17
| |||
| |||
|
|
Must be because the link boxes are having "pack width" as opposed to "max width". By setting width:100% for LI elements eliminates the gaps. Thanks, that was the simplest solution. It doesn't work for me. The li width has to be 99% and the visited, etc. width has to be 100%. And I haven't tested on different resolutions. |
#18
| |||
| |||
|
|
On 27/04/2006 16:03, Alan Silver wrote: [snip] Funny, I used to use units for zero measurements, but having seen people here say many times that you don't need them, I thought I'd be al grown up and leave them off. Looks like I should have stuck with my old habits!! When the majority say something - in this case, that units are optional for zero length values - and VK says something else, ignore the latter. |
#19
| |||
| |||
|
|
It is getting more puzzling in a case like margin: 0 .5em (space after 0). Should UA interpret it as margin:0.5em or as margin: 0px 0.5em or as an incorrect declaration? |
#20
| |||
| |||
|
|
VK wrote: It is getting more puzzling in a case like margin: 0 .5em (space after 0). Should UA interpret it as margin:0.5em or as margin: 0px 0.5em or as an incorrect declaration? Neither - they should interpret it as a correct declaration, meaning 0 margin for top and bottom, and a .5em margin for left and right. |
![]() |
| Thread Tools | |
| Display Modes | |
| |