html - How do i make my page compatible with IE? -
I am creating a website using Django, my template uses CSS and Firefox is locally Test me, but when I just "show it" to my friends, I run it against IE and the darn web site is broken! Headers are all messed up seems to catch nothing together, the spaces are all messed up! Its bad.
Something is missing! Like some header declarations? DOCTYPE or something else?
NB: I have used CSS from any site in the internet, and when I run that site on IE, it all looks good!
Help
This is the offensive CSS, the h1 section which is using this CSS is that which is breaking, any clues?
div # header {margin-left: auto; Margin-right: auto; Margin-down: 10px; Align text: left; Width: 780 px; Height: 102px; Background: URL (/site_media/header_background.gif) No-Repeat Top Left; } Div # header h1 {padding: 30px; Font-family: varnaana, non-serif; Font-size: 17px; font-weight: bold; Color: # c8c8c8; Letter-spacing: -1px; } Div # header h1 strong {color: # 999; Width: 810px; }
First of all, make sure that you are using the document type declaration Does not trigger. I recommend.
Secondly, make sure your site is valid according to it.
Finally, post the site in question, or snippet what's wrong, so we can advise you further. You may need to specifically (version) IE.
Edit: Now by looking at your update, can you post a screenshot of 'broken' and you can make sure that the No is using that transcriptional doctype and it is valid. Along with HTML also will be helpful.
Comments
Post a Comment