Forum Moderators: not2easy

Message Too Old, No Replies

Many IE CSS Errors

Site formatting complete in Firefox, but not in IE

         

Samg86

11:17 am on Aug 21, 2010 (gmt 0)

10+ Year Member



Hi everyone.

I've been building my first site for the past few months and teaching myself how to do html and css). I use dreamweaver and had build up a format i was happy with, before realising that on Internet Explorer 6-8 (at least) I have several errors:

1) Page begins at left of screen instead of being centered.
2) Welcome banner cuts off early (reduced width)
3) Site Location/Facebook button pushed to separate lines
4) Footer not rendering correctly.

The site works perfectly in Firefox, but not IE. I dont know which part of my css I should post as I dont want to clog up the page.

My css is fridgeadvice(dot)co(dot)uk/style.css

(I understand theres a no linking policy so please let me know if I should take this down - i just have no idea whats causng any of the errors and dont want to dump all my code - the site isnt even near completion so im not trying to advertise it, but let me know if its a problem and ill take it down)

I've run my CSS through the W3 Validator and it was all fine.

I'm a newbie and totally stuck for ideas so any advice you have would be much appreciated. Please let me know if you need more information.

Thank you!

Sam

Samg86

11:27 am on Aug 21, 2010 (gmt 0)

10+ Year Member



Oh my doctype is:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

..if that makes a difference...

Thank you.

Major_Payne

8:05 pm on Aug 21, 2010 (gmt 0)



Just some minor HTML errors [validator.w3.org] that need fixing. Using an XHTML 1.0 document type requires stricter coding than with an HTML 4.01 Strict doctype.

IE has bugs [positioniseverything.net] and you need to make a separate CSS file and call it using IE's Conditional Statements [msdn.microsoft.com].