Forum Moderators: not2easy
[snip]
looks fine in IE, but in firefox, the content sits over the menu, and the menu is knackered.
I've been backwards and forwards with this, trying everything I can think of. If I remove the doc-type, firefox renders the menu almost-correctly, but still has the content over the meny, and IE loses its' ability to center the page.
If anyone can help me with this, I would be so grateful.
Thanks
Andy
[edit: no urls, please. See CSS Forum Charter [webmasterworld.com] for details.]
[edited by: createErrorMsg at 10:51 am (utc) on Aug. 3, 2005]
Doc type is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" [w3.org...]
CSS has:
#container {
position: relative;
margin:auto;
padding:0;
width:700px;
}
within which sit:
#content {
position: relative;
width: 700px;
background-color: #0c6a3b;
}
#menu {
position:relative;
width: 170px;
float:left;
}
#info {
position:relative;
width: 510px;
padding: 10px 10px 10px 10px;
background-color: #d5f3cc;
float: left;
}
Info is the one that causes the problem...
thanks :o)
I take it you want to do first element - Menu, 2nd - Content and 3rd - info?
Or is the menu and info inside the content?
Show your sourcecode it would help.
At the moment it looks as if you are trying to force 3 elements with a width of 1400px into a container with 700px.
And btw, you dont need to declare all padding widths if all are the same, just stick with padding: 10px;
Also, is it really meant that the menu and the info should only be 680px in total?