
Originally Posted by
SubEffect
Ok, I hadn't used the * to eliminate padding and margins. It's looking good now.
Ah, I didn't realize you were using your version. The * thing is really for demos, as it's not advised to use that in production. a better way is to remove margin and padding from selected elements, as in this basic style sheet reset:
Code:
html, body, div,
h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, code, hr, img,
form, fieldset, legend, label, textarea,
span, em, strong, sub, sup, cite,
table, tbody, td, tfoot, th, thead, tr, tt,
dl, dt, dd, ol, ul, li {
margin: 0;
padding: 0;
}
img {
border: 0;
vertical-align: bottom;
}
I also would recommend against setting the height on the LIs if you can avoid it. I used line-height on the <a>s, but that was based on there not being much text. If the text wraps, then it's a different matter.
Thanks very much, this has sorted everything out big time!!
Glad to have helped.
Bookmarks