GBizzle99
05-02-2009, 05:03 PM
Hi there,My vaigation links don't seem to line up. Heres the code.
<div id="NavigationLinks">
<ul id="NavigationLinks">
<li><a href="test1.HTML" class="active" >HOME</a></li>
<li><a href="Facts.HTML" class="active" >KNOW YOUR FACTS</a></li>
<li><a href="Activity.html" class="active" >ACTIVITIES</a></li>
<li><a href="Contact.HTML" class="active" >FORUM</a></li>
<li><a href="UsefulLinks.html" class="active" >USEFUL LINKS</a></li>
</ul>
</div><!-- end of NavigationLinks -->
-----------------------------------------------------------------------------
<style type="text/css">
html,body{
margin:0;
padding:0;
background-color:#000;
}
body{
color:#FFF;
font: 76% arial,sans-serif;
text-align:center;
background: #565656 url(Background2.jpg) center fixed;
background-repeat: no-repeat;
}
p{
margin:0 10px 10px
}
a{
display:block;
color: #981793;
padding:10px
}
div#header h1{
height:80px;
line-height:80px;
margin:0;
padding-left:10px;
background: #EEE;
color: #79B30B
}
div#container{
width:900px;
margin:0 auto;
text-align:left
}
div#content p{
line-height:1.4
}
div#footer p{
margin:0;
padding:5px 10px
}
div#left{
background:#B9CAFF;
float:left;
width:150px
}
div#right{
background:#FF8539;
float:right;
width:750px
}
div#footer{
background: #333;
color: #FFF;
clear:both;
width:100%
}
#NavigationLinks {
margin: 0;
padding: 0 0 20px 10px;
}
#NavigationLinks li {
margin: 0;
padding: 0;
display: inline;
list-style: none;
}
NavigationLinks a {
float: left;
line-height: 14px;
font-weight:bold;
margin: 0 10px 4px 10px;
text-decoration: none;
color: #ffffff;
}
#NavigationLinks a.active, #NavigationLinks a:hover {
border-bottom: 4px solid #000000;
padding-bottom: 2px;
color: grey;
}
#NavigationLinks a:hover {
color:#333333;
}
</style>
Any help please would be much apreciated
<div id="NavigationLinks">
<ul id="NavigationLinks">
<li><a href="test1.HTML" class="active" >HOME</a></li>
<li><a href="Facts.HTML" class="active" >KNOW YOUR FACTS</a></li>
<li><a href="Activity.html" class="active" >ACTIVITIES</a></li>
<li><a href="Contact.HTML" class="active" >FORUM</a></li>
<li><a href="UsefulLinks.html" class="active" >USEFUL LINKS</a></li>
</ul>
</div><!-- end of NavigationLinks -->
-----------------------------------------------------------------------------
<style type="text/css">
html,body{
margin:0;
padding:0;
background-color:#000;
}
body{
color:#FFF;
font: 76% arial,sans-serif;
text-align:center;
background: #565656 url(Background2.jpg) center fixed;
background-repeat: no-repeat;
}
p{
margin:0 10px 10px
}
a{
display:block;
color: #981793;
padding:10px
}
div#header h1{
height:80px;
line-height:80px;
margin:0;
padding-left:10px;
background: #EEE;
color: #79B30B
}
div#container{
width:900px;
margin:0 auto;
text-align:left
}
div#content p{
line-height:1.4
}
div#footer p{
margin:0;
padding:5px 10px
}
div#left{
background:#B9CAFF;
float:left;
width:150px
}
div#right{
background:#FF8539;
float:right;
width:750px
}
div#footer{
background: #333;
color: #FFF;
clear:both;
width:100%
}
#NavigationLinks {
margin: 0;
padding: 0 0 20px 10px;
}
#NavigationLinks li {
margin: 0;
padding: 0;
display: inline;
list-style: none;
}
NavigationLinks a {
float: left;
line-height: 14px;
font-weight:bold;
margin: 0 10px 4px 10px;
text-decoration: none;
color: #ffffff;
}
#NavigationLinks a.active, #NavigationLinks a:hover {
border-bottom: 4px solid #000000;
padding-bottom: 2px;
color: grey;
}
#NavigationLinks a:hover {
color:#333333;
}
</style>
Any help please would be much apreciated