Thread: IE7 Img Problem
View Single Post
02-28-2008, 05:17 AM
#4
Szandor is offline Szandor
Status: Junior Member
Join date: Jan 2008
Location: Växjö, Sweden
Expertise:
Software:
 
Posts: 45
iTrader: 0 / 0%
 

Szandor is on a distinguished road

  Old

First of all, make sure you specify the correct encoding in the head. That could mess up a whole bunch of stuff. Secondly, get to work on your code - it has a grand total of 141 HTML and 13 parsing errors in it (using Total Validator) and since XML can be quite unforgiving, you should at least clean up the most blatant ones, such as unclosed tags and tags in uppercase.

You have also set the height and width of your image in the tag. This should always be avoided and set through CSS, but apart from that you have also made a critical error. The value of the height and width shouldn't have any unit to it. So, instead of "34px" it should only say "34". This might solve your problem, but I still urge you to clean up your code.