Repair
03-08-2012, 10:53 PM
Hey guys, I'm trying to code my portfolio at the moment, and Ive never coded anything yet - youve got to start somewhere!
Anyway, its probably the dumbest question ever but I need to ask it, my navigation just wont move. Ive tried margin-top, margin-right, padding-top and padding-right... Nothing seems to work!
My html :
</div> <div id=" nav">
<ul id="navlist">
<li id="active">Home </li>
<li>About</li>
<li>Portfolio</li>
<li>Contact</li>
</ul>
</div>
My CSS:
#nav { float: right ;
margin-right: 100px;
margin-top: 50px;
}
#navlist li {
display: inline;
list-style-type: none;
padding-right: 60px;
font-family: vijaya;
font-size: 30px;
color: #696262;
}
Any help as to why this wont work would be appreciated
Sam.
Anyway, its probably the dumbest question ever but I need to ask it, my navigation just wont move. Ive tried margin-top, margin-right, padding-top and padding-right... Nothing seems to work!
My html :
</div> <div id=" nav">
<ul id="navlist">
<li id="active">Home </li>
<li>About</li>
<li>Portfolio</li>
<li>Contact</li>
</ul>
</div>
My CSS:
#nav { float: right ;
margin-right: 100px;
margin-top: 50px;
}
#navlist li {
display: inline;
list-style-type: none;
padding-right: 60px;
font-family: vijaya;
font-size: 30px;
color: #696262;
}
Any help as to why this wont work would be appreciated
Sam.