Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Menu Bars like these?
Old 07-02-2008, 01:40 AM Menu Bars like these?
BDevil15's Avatar
Super Talker

Posts: 122
Trades: 0
Someone posted this site I hope they dont mind me linking it here but I am wondering how you make these navbars in CSS if anyone has a link to a tutorial or can point me in the right direction?

http://fantasybullpen.com/wordpress/

I assume it is a list but I really dont know where to start...

Looking for CSS way to make the navbars with the headings having a background and then the list of links below. I can make it with a table but I know many people frown on that and want to give it a go with CSS.

Thanks for any help,
Bob J
__________________
If you think you can or think you cant, your always right!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
BDevil15 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-02-2008, 03:36 AM Re: Menu Bars like these?
Skilled Talker

Posts: 52
Trades: 0
hey i'm new to all this and can't help you if you have any questions
however, i did notice exactly what you need on a website i was using for float info.
at least i think it does
http://css.maxdesign.com.au/index.htm
listutorial, listamatic, and listamatic 2 should give you evertying you need
gl
Webmaster Chris is offline
Reply With Quote
View Public Profile
 
Old 07-02-2008, 04:42 AM Re: Menu Bars like these?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Very simple with a definition list

CSS
Code:
<style type="text/css">
body {
	margin:0;
}
#navigation {
	width:130px;
	float:left;
	padding:0;
	margin:0;
	margin-left:5px;
}
dl {
	border:1px solid #333333;
	margin:0;
	margin-bottom:5px;
}
dt {
	width:100%;
	height:25px;
	background-color:blue;
	color:white;
	font-size:1.2em;
	padding:0;
	padding-top:3px;
}
dl dt span {
	padding:0;
	padding-left:0.5em;
}
dl dd {
	margin:0;
	margin-left:0.8em;
}
</style>
HTML Code:
<div id="navigation">
<dl class="navblock">
<dt><span>Heading</span></dt>
<dd><a href="#">Item 1</a></dd>
<dd><a href="#">Item 2</a></dd>
<dd><a href="#">Item 3</a></dd>
<dd><a href="#">Item 4</a></dd>
</dl>
<dl class="navblock">
<dt><span>Heading</span></dt>
<dd><a href="#">Item 1</a></dd>
<dd><a href="#">Item 2</a></dd>
<dd><a href="#">Item 3</a></dd>
<dd><a href="#">Item 4</a></dd>
</dl>
</div>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-02-2008, 11:42 AM Re: Menu Bars like these?
BDevil15's Avatar
Super Talker

Posts: 122
Trades: 0
Thanks Chris's really appreciate the help!
__________________
If you think you can or think you cant, your always right!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by BDevil15; 07-02-2008 at 11:59 AM..
BDevil15 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Menu Bars like these?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22703 seconds with 12 queries