I figured it out. Almost all of my problems were being caused by a typo in the content-type meta tag. thanks for the help.
Page in Question
I've got a page with a div fixed at the top of the window (contains the site menu) and a content div below it. the whole thing is centered.
Problem: when I use:
it works fine in IE, but in FF, the content goes to the top of the page, behind the menu div.Code:#content{ margin: 0 auto; text-align: center; width: 700px; padding: 0; }
When I use:
it's fine in FF but in IE, the content is pushed partway off the right side of the screen.Code:#content{ margin: 0 auto; text-align: center; width: 700px; padding: 0; position: absolute; top: 200px; left: auto; right: auto; }
I've tried several other positioning, padding, margin, etc. combinations, but I can't seem to solve both browsers' problems at once. Any suggestions? Thanks, everyone.



Reply With Quote

Bookmarks