Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 07-24-2008, 08:11 AM
Errrwin's Avatar
Errrwin Offline
pp regular
 
Join Date: Nov 2005
Location: Rotterdam
Posts: 39
Smile border-bottom not working in IE 7?

I'm working on a really simple template which has (amongst other stuff :P) the following css:

Code:
#navigation a, a:visited, a:link, a:active {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-variant: small-caps;
	text-transform: lowercase;
	font-size: 12px;	
	color: black;
	border-bottom: 1px solid white;
}

#navigation a:hover {
	border-bottom: 1px solid #FFA500;
	font-variant: small-caps;
	text-transform: lowercase;
	font-size: 12px;
}
To get a neat little orange line appear when hovering over a link in the navigation div.

Firefox likes it, IE does not.

Is this something I'll have to live with "as it's IE" or am I screwing up something in my coding?
__________________

PBLOG, clean-de-luxe
Reply With Quote
  #2  
Old 07-24-2008, 03:34 PM
EcoSee Offline
pp veteran
 
Join Date: Nov 2007
Posts: 63
add:

text-decoration: underline;

to the hover section such as:

#navigation a:hover {
border-bottom: 1px solid #FFA500;
text-decoration: underline;
font-variant: small-caps;
text-transform: lowercase;
font-size: 12px;
}
Reply With Quote
  #3  
Old 07-25-2008, 09:41 AM
Errrwin's Avatar
Errrwin Offline
pp regular
 
Join Date: Nov 2005
Location: Rotterdam
Posts: 39
That gets me a nice black line underneath the hovered-over link, but I want an orange one!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:00 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs