Doctor Swole
02-02-2006, 01:12 AM
Well basically I want to move the buttons more to the center of the navbar and spread out evenly throughout the navbar, when I mean center I mean more in the middle of the navbar, I dont want them laying on the navbar bottom border. How would I do that. Appreciate any help thanks...
Dont worry about the images...
Here's the HTML
<div id="navbar">
<ul>
<li><a href="#">Home</a></li><li>
<li><a href="#">About</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Forum</a></li>
<li><a href="#">Contact Me</a></li>
</div>
<div id="left_column">
<h3>Left Column</h3>
</div>
<div id="center_column">
<h3>Center Column</h3>
<div id="right_box">
<h4>Right Box</h4>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<p>Footer</p>
</div>
</div>
</div>
<br>
</body>
</html>
heres the CSS
body {
font-family: Arial, Helvetica, sans-serif;
background: #3366FF;
}
#header {
width: 773.7px;
height: 125px;
background-image: url(sample.gif);
margin-left: 100px;
margin-top: 15px;
border-top: 3px #F600FF solid;
border-left: 3px #F600FF solid;
border-right: 3px #F600FF solid;
}
#container {
width: 779px;
}
#left_column {
width: 140px;
height: 600px;
float: left;
margin-left: 100px;
border-left: 3px #F600FF solid;
border-right: 3px #F600FF solid;
border-bottom: 3px #F600FF solid;
}
#center_column {
width: 633.7px;
height: 600px;
margin-left: 243px;
border-bottom: 3px #F600FF solid;
border-right: 3px #F600FF solid;
padding-top: .1px;
}
#navbar {
width: 773.7px;
height: 35px;
margin-left: 100px;
padding-top: 1px;
background-repeat: no-repeat;
border: 3px #F600FF solid;
}
#navbar ul {
list-style: none;
padding-bottom: 10px;
}
#navbar ul li{
display: inline;
}
Dont worry about the images...
Here's the HTML
<div id="navbar">
<ul>
<li><a href="#">Home</a></li><li>
<li><a href="#">About</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Forum</a></li>
<li><a href="#">Contact Me</a></li>
</div>
<div id="left_column">
<h3>Left Column</h3>
</div>
<div id="center_column">
<h3>Center Column</h3>
<div id="right_box">
<h4>Right Box</h4>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<p>Footer</p>
</div>
</div>
</div>
<br>
</body>
</html>
heres the CSS
body {
font-family: Arial, Helvetica, sans-serif;
background: #3366FF;
}
#header {
width: 773.7px;
height: 125px;
background-image: url(sample.gif);
margin-left: 100px;
margin-top: 15px;
border-top: 3px #F600FF solid;
border-left: 3px #F600FF solid;
border-right: 3px #F600FF solid;
}
#container {
width: 779px;
}
#left_column {
width: 140px;
height: 600px;
float: left;
margin-left: 100px;
border-left: 3px #F600FF solid;
border-right: 3px #F600FF solid;
border-bottom: 3px #F600FF solid;
}
#center_column {
width: 633.7px;
height: 600px;
margin-left: 243px;
border-bottom: 3px #F600FF solid;
border-right: 3px #F600FF solid;
padding-top: .1px;
}
#navbar {
width: 773.7px;
height: 35px;
margin-left: 100px;
padding-top: 1px;
background-repeat: no-repeat;
border: 3px #F600FF solid;
}
#navbar ul {
list-style: none;
padding-bottom: 10px;
}
#navbar ul li{
display: inline;
}