...

View Full Version : some problems on ie



sybil6
08-06-2007, 11:09 PM
i have a few poblems left with ie, the site looks what i expect on FF. i have 2 problems on ie: the pattern wich is find below the big gray rectangle(normally a photo) shows a strange adding(wich doesnt happen under FF), and the distance between this pattern and the big gray rectangle is supposed to be 2 or 3 pixels(looks okay on FF) but renders much more distance on ie(see pic below).
i am using ie 6.0.29(i know this one is old) but maybe many people are using this version even now( i cannot see the way this errors look on the new ie)



http://img444.imageshack.us/img444/5800/untitled1of4.jpg (http://imageshack.us)
Shot at 2007-08-06

VIPStephan
08-06-2007, 11:33 PM
One big problem I see is that you code is highly… uhm… “unsemantic” (is that a word?). I mean things like these:


<div id="trame_haut"></div>
<img src="images/spacer.gif" width="1px" height="2px">
<div id="photo_main"></div>
<img src="images/spacer.gif" width="1px" height="2px">
<div id="trame_bas"></div>

<div class="hor"></div>


…is very bad practice. Empty elements, spacer images, and width/height attributes are things that don’t belong on a website because they have no meaning and/or are the total opposite of all web design principles of the 21st century which endorse the use of semantic code (http://www.boagworld.com/archives/2005/11/semantic_code_what_why_how.html), separating styling from content, and the use of CSS to style a website.

For example if you removed those spacer images and just used margins instead it might get rid of your problem right away.

sybil6
08-06-2007, 11:46 PM
i used margin and it effectively did work for the patterns, thank you
but i still can get rid of that extra pattern(the thin one) on ie



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum