Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-18-2010, 05:13 AM   PM User | #1
boogily
Regular Coder

 
boogily's Avatar
 
Join Date: Jul 2009
Posts: 275
Thanks: 18
Thanked 4 Times in 4 Posts
boogily is an unknown quantity at this point
gradient spanning background on an a:hover

I seem to have an issue with this one. Not sure why. Errors show in IE 6 & 7, and Safari 3.0. The padding is not having the borders (dividers) run fully from top to bottom and hover background graphic.

http://www.happydogwebproductions.com/nerdery/

__________________
Joomla Development Company and MN SEO
"Joomla development from design to SEO"
boogily is offline   Reply With Quote
Old 12-18-2010, 07:52 AM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
I'd suggest:

Code:
#menu a {
    display: block;
    float: left;
    line-height: 21px;
    padding: 23px 19px;
}

#menu {
    margin: 0;
}
Making your anchor a block element fixes the hover behaviour (in IE at least, I don't have Safari 3).

(As an aside, it's generally considered more appropriate/semantic to code your menu as an unordered list.)
SB65 is offline   Reply With Quote
Users who have thanked SB65 for this post:
boogily (12-18-2010)
Old 12-18-2010, 08:17 AM   PM User | #3
boogily
Regular Coder

 
boogily's Avatar
 
Join Date: Jul 2009
Posts: 275
Thanks: 18
Thanked 4 Times in 4 Posts
boogily is an unknown quantity at this point
Thanks!
__________________
Joomla Development Company and MN SEO
"Joomla development from design to SEO"
boogily is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 09:33 AM.


Advertisement
Log in to turn off these ads.