Forum Moderators: not2easy

Message Too Old, No Replies

First CSS Site having issues in IE8

internet explorer and css problems

         

eidna22

3:01 pm on Jul 22, 2010 (gmt 0)

10+ Year Member



Hi all,

I have my first css site exactly how I want it in FF and Chrome and in IE8 it looks terrible. Can anyone help me with this? Here is a link to my site [goo.gl...] Thank you!

Major_Payne

1:03 pm on Jul 23, 2010 (gmt 0)



5 CSS errors [jigsaw.w3.org]

3 Errors, 26 warning(s) HTML [validator.w3.org]

Document type is ok, but you are not coding to the OLD HTML 4.01 Transitional doctype.

IE has BUGS [positioniseverything.net]

Use Conditional Statements [msdn.microsoft.com] to make an IE only CSS.

eidna22

10:26 pm on Jul 24, 2010 (gmt 0)

10+ Year Member



Well which doctype should I use?

eidna22

10:26 pm on Jul 24, 2010 (gmt 0)

10+ Year Member



Well which doctype should I use?

piskie

12:26 am on Jul 25, 2010 (gmt 0)

10+ Year Member



I think the point being made by Major_Payne was that your code did not comply with the DTD that you used.
There is not exactly a right or wrong Doc Type, but each one declares the version of coding standards that the page is coded to. If the Doc Type and code used don't match, the results are very likely to be unpredictable and in all probability will exhibit cross browser problems.