473,395 Members | 1,452 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.

a:hover problem with borders in IE

Anyone know why my top and bottom border is not showing in Internet Explorer 6 for my navigation bar? There should be a border around the word home and borders around each link as you roll over it. Only the borders on the right and left appear.

Here's the URL: http://aec.ifas.ufl.edu/trc/

I pasted the relevant code below, but you can also view the entire CSS here.


#nav {
width:100%;
}

#nav ul {
margin-left:0;
padding-left:0;
display: inline;
}

#nav ul li {
margin-left:0;
padding:0;
list-style: none;
display: inline;
}

#nav a:link, a:visited, a:active {
padding:5px 12px 5px 12px;
margin:0 7px 0 7px;
color:#E2BC5F;
text-decoration:none;
font-weight:bold;
}

#nav a:hover {
border:1px solid #E2BC5F;
font-weight:bold;
padding:4px 11px 4px 11px;
}

#nav li.youarehere1 {
border:1px solid #E2BC5F;
padding:4px 7px 4px 7px;
margin:0 7px 0 7px;
color:#E2BC5F;
font-weight:bold;
}
Nov 10 '06 #1
2 1555
drhowarddrfine
7,435 Expert 4TB
Add and adjust line-height:xxpx; to your #nav or the ul or the li, whatever works.
Nov 10 '06 #2
Add and adjust line-height:xxpx; to your #nav or the ul or the li, whatever works.

I added it to the ul and it worked. Thanks!
Nov 17 '06 #3

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

Similar topics

5
by: Thomas Mlynarczyk | last post by:
Hello, I want to style an <a> element to have a special padding on "hover", like a {padding: 3px 5px 2px 4px;} a:hover {padding: 2px 4px 3px 5px;} No problem for Mozilla. Opera 7, however,...
3
by: Harry | last post by:
I'm having a problem at www.idea-greenhouse.com/s.html In Firefox, all's well. In IE6, the images don't always change when I hover over a link. It seems I have to hover over the border of the...
1
by: SeaPlusPlus | last post by:
I have a problem, with html and css that verifies, that my menus will not exhibit hover when the cursor is exactly to the left of the image centered on my web page. The problem shows up in...
24
by: fehays | last post by:
Hello, I'm having a problem with the css hover effect in IE. I have an <a> tag with the following CSS: a.subNavItem { display:block; color:#464645; padding:2px 7px 4px 6px;...
5
by: Harris Kosmidhs | last post by:
I have two questions for my site http://www.solsoft.gr/index.php (it's in greek but don't mind ;-) ). 1)Div for #logo (top-left image) and the menu (left side) is 200px. Why isn't the same in...
5
by: Bubba | last post by:
I need to use an inline css tag for a few links that will not behave like the a:link and a:hover attributes in my stylesheet. I want to add a special link color with underline and a mouseover...
1
by: pressman | last post by:
Hello all, I'm developing an image navigation structure that highlights the right or left borders of an image, depending on which of the image the user mouseovers. I've been trying to do this by...
4
by: Sigilaea | last post by:
My previous post got squashed because m post is too long. Sorry for that: I have an AJAX page with a CSS menu at the top. My problem is the hover functionality stops working after someone clicks...
2
by: nicstel | last post by:
Hello, I'm trying to find documentation about the xlwt (py_excelerator). I want to change the border of some cells. But the only types that I found is: double and dashed. How to do a simple line...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.