works on ie 5 but not on ie 6. why?

liunx

Guest
hi<br />
all the code and css validates at w3c!<br />
the page:<br />
<!-- m --><a class="postlink" href="http://www.ebi-vasco-gama.rcts.pt">http://www.ebi-vasco-gama.rcts.pt</a><!-- m --><br />
it works perfectly on ie 5 but displays wrong on ie 6 and on opera (makes an undesirable padding on right side...with ie 6 and completely mess it up in opera!)<br />
how can i fix it?<br />
thanks in advance<!--content-->make a body {} in your css and add margins:0; to it<br />
<br />
body { margins: 0px}<!--content-->>> all the code and css validates at w3c! <<<br />
<br />
The CSS actually fails: <!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ebi-vasco-gama.rcts.pt%2F&warning=1&profile=css2">http://jigsaw.w3.org/css-validator/vali ... ofile=css2</a><!-- m --> at the moment due to an invalid character found.<!--content-->if you go here:<br />
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator-upload.html">http://jigsaw.w3.org/css-validator/vali ... pload.html</a><!-- m --><br />
and validate the css file i attach, you can confirme my css code validates!<br />
But before you must re-save it as .css because here i cant upload .css files...<!--content-->oops<br />
i just cut and paste the body {} from scoutt and says marginS doesnt exist<br />
i correct it allready<br />
here it goes now attached<br />
Now to Scoutt<br />
i tried the body stuff but that doesnt seem to help<br />
otice i refer only to opera because from where i'm now i dont have ie 6 to test<br />
thanks anyway<br />
by the way: i guess i can handle because i think its about paddings...<!--content-->well yah it could be the padding since you use that in the css.<br />
<br />
every browser will render differently so expect a little variation in the coding like padding and margins.<br />
<br />
margins does exist but some browsers ignore them.<br />
<br />
actully I think it is margin instead of margins, sorry about that.<!--content-->
 
Back
Top