View Single Post
12-18-2005, 06:09 AM
#10
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Code:
<div id="nav">	
	
		<div class="navlink"> <a href="#" title="Goto Homepage">Home</a> </div>

		<div class="navlink"> <a href="index.php?p=2" title="Goto the Forums">Forums</a> </div> 
		<div class="navlink"> <a href="#" title="View my latest sites">Portfolio</a> </div> 
		<div class="navlink"> <a href="#" title="Visit my friends and favourite sites">Partners</a> </div> 
		<div class="navlink"> <a href="#" title="Get in touch with me">Contact</a> </div>  
	</div>
When you make div after div, html reads it and skips a line, so to make it work use this CSS:
Code:
.nav-link{
word-spacing: 15px;
}
and this html:
Code:
<div class="navlink">
                <a href="#" title="Goto Homepage">Home</a>
		<a href="index.php?p=2" title="Goto the Forums">Forums</a>  
		<a href="#" title="View my latest sites">Portfolio</a>
		<a href="#" title="Visit my friends and favourite sites">Partners</a> 
		<a href="#" title="Get in touch with me">Contact</a>
</div>