January 31, 201115 yr Hi Folks Can you please help. I am developing a new site for my customer and in IE 8 the main header image is not being displayed. The site is Hot Tub Hire I am just finishing off and tweaking the site and noticed this before sending to my client. Can anyone help? Thanks Phil
January 31, 201115 yr Start by validating your code. 90% of IE errors come from invalid markup or CSS.
January 31, 201115 yr Start by validating your code. 90% of IE errors come from invalid markup or CSS. Agree. Try validating in W3 to start with. If everything there is Ok, it should 90% be sorted, if not, try w3schools and try the online editor reference there and check the code for CSS background. Edited January 31, 201115 yr by Silent Web Solutions
February 1, 201115 yr try developing with IE in the first place and not some 'compliant' browser that forgives poor code. No wonder so many like Firefox etc when it wrongly accepts bad code. #content{width:794px; position:relative; clear:both; background:url(../images/b_header.jpg)0 0 no-repeat} you need a space between )0 and the ;
February 1, 201115 yr No wonder so many like Firefox etc when it wrongly accepts bad code. I'm gonna have to disagree with this. If IE could serve XHTML1.1 Strict, we wouldn't have so many problems, because any malformed code (at least the markup) would result in an XML error rather than a "best guess" rendering. If everyone was able to use that DOCTYPE we'd have far less sloppy markup.
Create an account or sign in to comment