I have created a web site that uses a php code that calls the page as a variable. The problem I am having is that in IE 7 the pages look correct and in Firefox all but the "Catalog Login" page look correct but in IE6 all pages except the "Links" and "Contact" page are moving down.
Some have suggested that it is due to extra <head> & <body> tags since each page is a page of its own, when it "includes" it into the "index" page it addes the entire code. I have tried removing those tags and it still does it. Also each page is using the Style Sheet so if I don't use the <head> tag on that page I cannot use the Style sheet.
I really need this corrected ASAP so any help is greatly appreciated
Do I maybe need to change something on the #menu ?
Lukasz Chmielewski
try to move the main div inside menu div
<div id="menu">
<p>
... your flash object
</p>
<div id="main">
etc.
brightsusan
ASKER
When I did that the page still dropped down and then the footer was over the main content?
I would think it is with the padding and margins but no matter what I put they still do not work? I have the menu column at a total width of 177px and the margin-left for the main div is 177px so they should work.
Actually I had to add something that wasn't in your answer. In older versions of IE it doesn't do the margins & padding the same so I had to clear out the default margins & padding so that it didn't add anything to my numbers. It was adding to my margins & padding and that was throwing it off and making it larger than it actually was.
blumi
I told you that they handle margin and padding different and told you to search there for a solution. I'm happy for you that you learned something about margin and padding.
I believed that you and anyone here want to learn it and you just need a tip were to search for a solution.
You have a lot issues with your site, just test it with the w3c html and css validator. Further is a menu with flash not recommended, that is not pretty good for search engine optimization.
How can you expect that someone send you just an issue free all in one solution after reading for an hour through your ugly and wrong coding. I think you are insolent.
brightsusan
ASKER
I'm not sure why you are so angry. I didn't see anything that was posted that would cause your harsh comments. I just said that I had to add that universal style to remove the default margins and padding. I didn't ask for an all in one solution.
Or try to change the width of the middle part.
Looks like a float problem were one div is to wide for the space.
Recommended
http://shouldiusetablesforlayout.com/