Forum Moderators: not2easy
Thanks in advance ;)
Please do not post links to test sites or mock-ups. It is against the TOS for this board.
If you post a link and then subsequently fix the problem then no one can benefit from this thread in the future. Instead we prefer to describe the problem and if appropriate post small code excerpts to illustrate it.
Anyways...
A few tips when designing cross-browser CSS:
#menu {
padding: 0px;
width: 715px;
}
#menu ul {
border-width: 0px;
list-style-type: none;
margin: 0px;
}
#menu ul li {
float: left;
}
#menu ul li a {
border: #ccc 1px solid;
background-color: #fff;
width: 101px;
border-right-style: none;
text-decoration: none;
}
#menu ul li a:hover {
border: #ccc 1px solid;
color: #fff;
background-color: #9cf;
width: 101px;
border-right-style: none;
text-decoration: none;
}
and for the layout
body {
margin: 0px;
}
#page {
padding: 0px;
text-align: center;
}
#header {
padding-top: 10px;
}
auto for the left and right margins. margin: 0 auto; Many people mistakenly use
text-align:center which is only intended to control the position of text, not divs. Others try the
align="center" attribute, which will work but it has been deprecated and should not really be used.