RE: Stuck on HTML
From my css:
.nav {
text-align: center;
background-color: #0000FF;
padding: 2px;
}
.nav a:link
{
width:6em;
text-decoration: none;
color: white;
background-color: #000099;
padding: 2px;
border: 1px solid #0000FF;
border-top: 0px;
border-bottom: 0px;
}
.nav a:visited {
width: 6em;
text-decoration: none;
color: white;
background-color: #000099;
padding: 2px;
border: 1px solid #0000FF;
border-top: 0px;
border-bottom: 0px;
}
.nav a:hover {
background-color: #0000FF
}
Now in the page itself you do:
<div class="nav">
<a href="index.php">Home</a><all the other hrefs for the pages in a row after eachother, no <br> or spaces></div>
assuming you are using an external stylesheet (css), if not then i advice you to learn. w3schools is good to start out..it's where i learned most too
This post was edited on 07-11-2006 at 04:34 PM by Sunshine.
|