CSS Library: Horizontal CSS Menus: Here
Solid Block Menu
Author: Dynamic Drive
This is a lean, professional looking CSS menu that's draped in a solid two color background image. The divider between the menu items is simply a white CSS border. The style is extremely easy to customize thanks to the simple background image used.
Demo:
The two images used (resized horizontally):

The CSS:
Rate this code:
Date Posted: 03/27/2007
Revision History: July 6th 08"- Updated CSS for improved clear float in IE.
Usage Terms: Click here
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 3 of 15 pages « First < 1 2 3 4 5 > Last »
How can you make the bar more slimmer because i need the bar more slimmer and smaller. Not the width, but the height. How can you modify it?
garado, what bar u talkin about, is it the css bars i mentioned? well i only know how to make each of the bars with the curved edge. I think i only know of fluid, meaning it adjusts based on the content, so i don't know how to specify a size.
That is why i want u guys to help with with it.
please--- http://gbarnett.pbwiki.com/f/css_layout_dimensions.png
Guys please help if u can. Thanks!
That is why i want u guys to help with with it.
please--- http://gbarnett.pbwiki.com/f/css_layout_dimensions.png
Guys please help if u can. Thanks!
I am talking about the Solid Block Menu Bar. I want to make the Height smaller so it won't be that thick
Garado,
to make the bar slimmer u have to change the padding
e.g
.solidblockmenu li a{
float: left;
color: white;
padding: 2px 5px;
text-decoration: none;
border-right: 1px solid white;
}
to make the bar slimmer u have to change the padding
e.g
.solidblockmenu li a{
float: left;
color: white;
padding: 2px 5px;
text-decoration: none;
border-right: 1px solid white;
}
Hey guys,
I've been trying for days, and i haven't been able to get it right. How can i get the buttons centred in the bar? I know they're floated left, and float:center isn't widely supported yet. When they aren't floated, the padding does not affect the height of the bar. I suspect i'll have to re-write the whole thing differently... unless there's another way?
Also, theres no border on the left side of the far-left button.
I've been trying for days, and i haven't been able to get it right. How can i get the buttons centred in the bar? I know they're floated left, and float:center isn't widely supported yet. When they aren't floated, the padding does not affect the height of the bar. I suspect i'll have to re-write the whole thing differently... unless there's another way?
Also, theres no border on the left side of the far-left button.
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
hi - i can't get the black to grey background working ? any ideas ?
got this bar to work. its really cool and well done. 5 stars. just one question. does anybody know how to reposition this i cant seem to get it moving.
use float:right/left/center; :D you want to position what? text? or navbar? you can use also, text-align:center/left/right; :D









Please let me know if anyone knows how to do this.Thanks.
http://gbarnett.pbwiki.com/f/css_layout_dimensions.png