473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Horizontal align Navigational Toolbar

I am having difficulty knowing what to do to complete my toolbar...I feel I have everything but it is not actually aligning horizontally--inline--with spaces in between each tab. I would like it to look much like the toolbar on this site, but instead it is aligned two next to each other and then two on top of that.
Could someone tell me what I am missing? Thanks for any available help.

Expand|Select|Wrap|Line Numbers
  1. CSS:
  2. .toolbar ul {
  3.     margin:0px;
  4.     padding:0px;
  5.     text-align:center;
  6.     list-style-type:none;
  7.  
  8. }
  9.    .toolbar ul li {
  10.     display:inline;
  11.  
  12. }
  13.    .toolbar ul li a {
  14.     text-decoration:none;
  15.     padding-right:30px;
  16.         background-color:#990000;
  17.         border-style:solid;
  18.     border-color:#000000;
  19.     border-width:1px;            
  20.     padding:10px;
  21.     font-family:"Gadget", sans-serif;
  22.     font-size:14px;
  23.     font-weight:bold;
  24.     position:relative;
  25.     top:100px;
  26.     left:320px;
  27.     vertical-align:bottom;    
  28.  
  29. }
  30.    a:link {
  31.     color:#ffffff;
  32. }
  33.  
  34. HTML5:
  35. <div class="toolbar">
  36. <ul>
  37.     <li><a href="content.html">Course Content</a></li>
  38.     <li><a href="resources.html">Related Resources</a></li>
  39.     <li><a href="contact.html">Contact</a></li>
  40.     <li><a href="pilot.html">Home</a></li>
  41. </ul>
  42.     </div>
Jul 18 '14 #1
1 1391
nomad
664 Expert 512MB
Make a division for your toolbar.
#toolbar ul {

}
Jul 18 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Maria Gonzalez | last post by:
Hello, I would like to know if it is possible to create a Navigational Menu that has all the Major Categories on top row, then when a mouse is over it, the bottom row appears with sublinks but...
4
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following...
1
by: Bryan | last post by:
I've been trying to figure out how to do this for the past 2 days and am finally tossing in the towel. No matter what I do, I just can't seem to get it to work and haven't been able to find any...
1
by: Peter Mount | last post by:
Hi When I zoom into my site (http://www.petermount.au.com) with Opera 7.54 the horizontal scrollbar doesn't show when the site image is bigger than my screen. Yet the horizontal scrollbar shows...
2
by: Cybertof | last post by:
Hello, Have you seen that if you try to right align multiple labels with different content, the labels are not aligned correctly ? Is it normal ? Cybertof.
7
by: J-T | last post by:
My website is fine when it is viewed in 1280 by 1024 pixel ,but in smaller resulotions there is a horizontal scrollbar down the page.How can I set it to be viewed the same for all resulotions? ...
1
by: chilakala | last post by:
hi, suppose, we are displaying data in DataGrid assume in two Columns "EmpID", "EmpName". By Defaulty it will be Display in Below Format. EmpID EmpName ...
1
by: camphor | last post by:
hi, I have a single column webpage with a horizontal dropdown menu and am trying to make the nav bar fit across the page, the column is 800px, it looks ok in dreamweaver 8 but when I test it in...
2
by: dartanian | last post by:
I have a fluid horizontal navbar on my website which is formatted using floats and percentage widths to make it fluid. This looks great in WinXP Firefox, Opera, and even IE6. Safari and IE7 render...
8
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.