Scott B
New Member
- Messages
- 844
- Reaction score
- 0
- Points
- 0
Hello :]
I am in need of a little help with my CSS coding.
Here's my problem:
You see, the "blog" and "contact" links are supposed to be on the same row as the "divisions" link and fit in between the lines on top.
Here is my HTML/CSS code:
If you can find a fix for this I will give you 500 credits. If you need the image files PM me.
I am in need of a little help with my CSS coding.
Here's my problem:
You see, the "blog" and "contact" links are supposed to be on the same row as the "divisions" link and fit in between the lines on top.
Here is my HTML/CSS code:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>sb | technology meets lifestyle</title>
<style type="text/css">
body {
background-image: url(bg.jpg);
background-repeat: repeat-x;
background-color: #31A5CC;
font-family: Lucida Sans;
}
#temp {
margin-top: -8px;
width: 823px;
height: 626px;
background-image: url(temp2.jpg);
margin-left: auto;
margin-right: auto;
}
#nav1 {
font-size: 15px;
margin-left: 172px;
width: 147px;
height: 82px;
text-align: center;
}
#nav1 a {
display: block;
color: black;
text-decoration: underline;
height: 82px;
}
#nav1 a:hover {
color: white;
background-image: url(nav_over.png);
background-repeat: repeat-x;
}
#nav2 {
font-size: 15px;
margin-left: 320px;
width: 147px;
height: 82px;
text-align: center;
}
#nav2 a {
display: block;
color: black;
text-decoration: underline;
height: 82px;
}
#nav2 a:hover {
color: white;
background-image: url(nav_over.png);
background-repeat: repeat-x;
}
#nav3 {
font-size: 15px;
margin-left: 468px;
width: 147px;
height: 82px;
text-align: center;
}
#nav3 a {
display: block;
color: black;
text-decoration: underline;
height: 82px;
}
#nav3 a:hover {
color: white;
background-image: url(nav_over.png);
background-repeat: repeat-x;
}
</style>
</head>
<body>
<div id="temp">
<div id="nav1"><a href="divisions.php"><br>
<br>
divisions</a></div>
<div id="nav2"><a href="blog"><br>
<br>
blog</a></div>
<div id="nav3"><a href="contact.php"><br>
<br>
contact</a></div>
</div>
</body>
</html>