Quick Search
Sunbelthost Hosting - Colocation and Dedicated Servers

Threads: 21,763
Posts: 83,205
Members: 24,315
Newest member: joemccue

Web Hosting


 
  #1  
Old 01 Feb 2010, 06:21 AM
kotos kotos is offline
New Member: Posts Will Be Moderated
 
Join Date: Feb 2010
Posts: 1
How to css justify menu?

Hi all!
Anyone know how to justify menu like on screen without making images
http://www.vantoom.kylos.pl/eventproject/aa_menu.jpg

I wrote a code with nice working menu but have no idea how to justify it.
Anyone can help?

Quote:
/*////////// NAV //////////*/
#top_navlist {
width: 860px;
height: 60px;
}
.bevelmenu{
padding: 6px 0;
margin: 0;
width: 100%;
text-align: justify; /*?*/
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 18px;
text-transform: uppercase;
}

.bevelmenu li{
list-style: none;
display: inline;

}

.bevelmenu li a{
padding: 3px 1px 3px 1px;
text-decoration: none;
color: #333;
}

.bevelmenu li a:hover{
color: #009EE0;
border-style: outset;
}
.bevelmenu li.current_page_item a{
color: #009EE0;
border-style: outset;
}
Reply With Quote
  #2  
Old 02 Feb 2010, 12:57 AM
agmay agmay is offline
Newbie
 
Join Date: Jan 2010
Location: Texas
Posts: 7
Isn't your code working? It's working for me just fine.
Reply With Quote
  #3  
Old 02 Feb 2010, 01:19 AM
Wickham's Avatar
Wickham Wickham is offline
Established Member
 
Join Date: Feb 2006
Location: Salisbury UK
Posts: 3,865
Items 4 and 5 here have examples of making menus fill 100% of the width or centering in a larger width:-
http://www.wickham43.net/dropdownmenus.php
I hope they will help.
__________________
Code downloaded to my PC will be deleted in due course.
WIN XP SP3; IE7, Firefox 3.5, Opera and Safari for Windows; screen resolution usually 1024x768.
IE6 on W98 with 800*600. IE8 RTM on Vista 1440*900.
Reply With Quote
Reply

Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown menu with css and javascript...? AllanH Client & Server Side Scripting (PHP, ASP, JavaScript) 1 14 May 2009 02:59 AM
CSS Drop down menu in IE problem.. mylah Web Design, HTML Reference and CSS 0 24 Mar 2009 07:41 AM
PHP's include function ??? j4mes_bond25 Web Design, HTML Reference and CSS 6 19 May 2006 11:23 AM
CSS Horizontal drop-down menu ??? j4mes_bond25 Web Design, HTML Reference and CSS 2 07 Apr 2006 09:52 AM
CSS Menu not working in IE Thrule Web Design, HTML Reference and CSS 8 04 Nov 2005 11:50 AM


All times are GMT -5. The time now is 01:16 PM.


 

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Forums Copyright © 2004-2010, WebDevForums.com. Web design by Miami Web Design. All Rights Reserved.