Hi guys,
Im having a bit of bother with a navigation div on my homepage.
I have valid xhtml 1.1 on the page im using, and valid css, but heres the navigation div css:
#navigation {
width:700px;
height:30px;
margin:0px;
padding:0px;
background-color: #6f0000;
}
When ive changed the colours on the page, the navigation div has a gap above it between the head div. Does anyone know how to fix this? Heres the link to it so you can have a look:
<!-- m --><a class="postlink" href="http://www.vagusnet.com/John/John/own/index.html">http://www.vagusnet.com/John/John/own/index.html</a><!-- m -->
Thanks JohnI believe the margin is from your Unordered list. So, try this:
#navigation ul {
margin:0;
}Thanks MstrBob that worked a treat
Im having a bit of bother with a navigation div on my homepage.
I have valid xhtml 1.1 on the page im using, and valid css, but heres the navigation div css:
#navigation {
width:700px;
height:30px;
margin:0px;
padding:0px;
background-color: #6f0000;
}
When ive changed the colours on the page, the navigation div has a gap above it between the head div. Does anyone know how to fix this? Heres the link to it so you can have a look:
<!-- m --><a class="postlink" href="http://www.vagusnet.com/John/John/own/index.html">http://www.vagusnet.com/John/John/own/index.html</a><!-- m -->
Thanks JohnI believe the margin is from your Unordered list. So, try this:
#navigation ul {
margin:0;
}Thanks MstrBob that worked a treat