hi all, I'd GREATLY appreciate your help, I'm brand new to this and trying to teach myself. certain webpages of mine are not lining up correctly in Explorer, yet they are perfect in firefox. can you guys/gals take a look and help me out? Thanks in advance you'll save me big heacache! the pages that are off: www.leandream.com/new/home.html www.leandream.com/new/leandreamgear.html this one is good, but odly i copied the templates all 3 of these when doing them so it doesn't make sense that one works great and the others are off. www.leandream.com/new/myleandream.html thanks!
IE drives me crazy, my sites are all fine in Firefox just like you but in IE some of them have problems!
IE is not standards-compliant. What causes most problems in CSS is the different approaches to the box model (the real width of an element when you assign padding, borders, etc.) in different browsers. Google "CSS box model" for more info.
You may want to also try a site validator if you haven't already. They haven't been directly helpful to me, but they give some good ideas. Also, firebug for Firefox is great...even if it is working fine in firefox, it can point you in the right direction.
Don't use tables they are not meant to be used for layouts. Use Div tags for a layout. If you are using Microsoft Expression it is really easy to do. If you want to know how it works go to http://www.yourhtmlsource.com/stylesheets/csslayout.html to learn more also try combining your css in one single file.. Once you are successful pages are going to look great in every browser. Good Luck
IE is rubbish. A lot of sites using CSS often incur these kinds of bugs. This might be able to help you http://css-tricks.com/ie-css-bugs-thatll-get-you-every-time/
@theerer3, You're doctype is incorrect and throws IE into quirks mode. Use this one instead: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> It doesn't take away from anything anyone else has said, though. IE is the worst browser on the planet with no hope of recovery.
That's why I hate IE. Use the !important hack in the css to fix the errors. Google for it for more info.