Solved

Change my css to for tab navigation

Posted on 2006-11-28
1
173 Views
Last Modified: 2008-01-16
I want to change the navigation to have no underline. I also want tabs for top  links.  I also want when you hover  for the tabs to change color. Now Iwany to make the tabs taller to cover each link








#navbar {
margin-bottom: 0;
margin-left: 110px;
margin-right: 110px;
font-size: .65em;
text-align: center;
margin-top: 0;
padding-bottom: 15px;
font-weight: bold;
padding-top: 8px;
background-color: #265057;
color: #ffffff;
word-spacing: 8px;
border-bottom: 2px #dfa9d2 solid;
}

#navbar a:link, #navbar a:visited {
color: #ffffff;
word-spacing: none;
}

#navbar a.current {
color: #ff4700;
}

#navbar a:hover {
color: #ff4700;
text-decoration: underline;
}

#navigation{

margin-bottom: 0;
margin-left: 110px;
margin-right: 110px;
font-size: .69em;
text-align: center;
margin-top: 0;
padding-bottom: 8px;
font-weight: bold;
padding-top: 23px;
background-color: #265057;
color: #ffffff;
word-spacing: .8px;
}



#navigation a
{
color: #000;
background: silver url(tableftB.gif) no-repeat left top;
text-decoration: none;
padding-left: 10px
}


#navigation a span
{
background: url(tabrightB.gif) right top no-repeat;
padding-right: 10px
}

#navigation a, #navigation a span
{
display: block;
float: left
}

/* Hide from IE5-Mac \*/
#navigation a, #navigation a span
{
float: none
}
/* End hide */

#navigation a:hover
{
background:  url(tableftB.gif) left top no-repeat;
padding-left: 10px
}

#navigation a:hover span
{
background: url(tabrightB.gif) right top no-repeat;
padding-right: 10px
}

#navigation ul
{
list-style: none;
padding: 0;
margin: 0
}

#navigation li
{
float: left;
margin: 0;
}
0
Comment
Question by:jcw20
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Animasu earned 350 total points
ID: 18044348
I want to change the navigation to have no underline.

text-decoration:none;

I also want when you hover  for the tabs to change color.

a{background: #111;}
a:hover{background: #000;}

if you want images you can use

background: #000 url("image.jpg");

Now Iwany to make the tabs taller to cover each link

height:10px;


hope this helps

- Animasu
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question