Jump to content

Rendering in different browsers


WillieO
 Share

Recommended Posts

I recently built my secon website from scratch and when i "run it in Notepad++ say in Firefox it looks fine but after uploading it the 3rd column shoots up on the page.Its also doing something weird in IE. Did I screw up the IE box model or is there a hack I can upload into the "doctype" declaration?My images are also screwed up but Ill fix that later. The lauyout rendering is whats screwing me up.please Visit My Website

Link to comment
Share on other sites

You need a <body> element and a closing </html> tag. There is no way of knowing how a page will render in IE with errors like that.
Thank You both for your replies. I have now added the <body> and </html> closing tags. I also removed the negative margin and it seems to render OK in everything but "IE' which is maddening. Did I screw up the IE box model? I tried to leave space in case the marginds were pushed in IE but it seems not to be working.
Link to comment
Share on other sites

Thank You both for your replies. I have now added the <body> and </html> closing tags. I also removed the negative margin and it seems to render OK in everything but "IE' which is maddening. Did I screw up the IE box model? I tried to leave space in case the marginds were pushed in IE but it seems not to be working.
check the math on the columnsI get 364 for left and right and 467 for the main content plus 58 of margins makes about 879. Then there is 1px padding inside the body div. That is still about 40 away from 920 so I probably missed an element somewhere. My guess is that your math is too tight for some of IE's default margins. Try expanding the body div to 940 and see if it renders ok in IE.If that works, shrink it down to where it refuses to fit and try to figure out which element you can reset in IE so it all fits at 920.I can't see anything obvious........Guy Edited by Guy Cousineau
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...