Jump to content

I need a way to "justify" a horizontal nav bar


Zandorian

Recommended Posts

Tableless layout with css

<html><head><style>#leftnavigation {  position : absolute;  left : 0;  width : 150px;  margin-left : 10px;  margin-top : 20px;  color : #000000;  padding : 3px;}#content {  top : 0px;  margin : 0px 0% 0 170px;  padding : 3px;  color : #000000;} </style></head><body topmargin="0" leftmargin="0"><div id="leftnavigation"><h2>Menu</h2><ul>  <li><a href="#">Home</a></li>  <li><a href="#">About</a></li>  <li><a href="#">Contact</a></li>  <li><a href="#">Etc</a></li></ul></div><div id="content"><h2>Sample Content</h2><p>This is the content section of the page. This is the content section of the page. This is the content section of the page. This is the content section of the page. This is the content section of the page. This is the content section of the page. This is the content section of the page. This is the content section of the page. </p></div></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...