Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 9:58 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Create a Navigation Bar instead of traditional links
PostPosted: January 7th, 2010, 4:36 pm 

Posts: 15
How could I move from a list of links to a navigation bar? I think its nice to have a navigation bar instead.


Top
 Profile  
 
  Re: Create a Navigation Bar instead of traditional links
PostPosted: January 8th, 2010, 10:43 pm 

Posts: 96
The only difference between traditional links and navbars is their apperance:
<p class="link"><a href="http://www.scriptingok.com">ScriptingOk</a></p>
<style type="text/css">
.link{background-color: #88af4f; color: #fff}
</style>


And you can then fix them to be altogether
<div id="navbar">
<p class="link"><a href="http://www.scriptingok.com">ScriptingOk</a></p>
<p class="link"><a href="http://www.google.com">Google</a></p>
<p class="link"><a href="http://www.yoursite.com">Any Site</a></p>
</div>
<style type="text/css">
.link{background-color: #88af4f; color: #fff; display: inline; float: left}
</style>

Hth, ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron