Help - Search - Member List - Calendar
Full Version: Menu a:hover not working correctly in Firefox
WorkTheWeb Forums > Webmaster Resources > Webmaster - General Help
Support our Sponsors!
Dylan Parry
Hi folks,

I've got a page with a menu on the left-hand-side, and when you hover
the mouse over the links they change colour and a white border is
applied top and bottom.

See: http://dotnet.dylanparry.com/welhat/template.aspx

Now this is all well and good, and works in Internet Explorer and Opera,
and to some extent in Firefox.

The problem is that, in Firefox, the link "view map" doesn't seem to
want to have the bottom border applied on hover, whereas all the others
work fine. I've tried adding in extra links to see what happens, and
I've found that the second link in the list *always* exhibits this
behaviour!

Any ideas what is going on here?

--
Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references

Els
Dylan Parry wrote:

QUOTE
Hi folks,

I've got a page with a menu on the left-hand-side, and when you hover
the mouse over the links they change colour and a white border is
applied top and bottom.

See: http://dotnet.dylanparry.com/welhat/template.aspx

Now this is all well and good, and works in Internet Explorer and Opera,
and to some extent in Firefox.

The problem is that, in Firefox, the link "view map" doesn't seem to
want to have the bottom border applied on hover, whereas all the others
work fine. I've tried adding in extra links to see what happens, and
I've found that the second link in the list *always* exhibits this
behaviour!

Any ideas what is going on here?

Yes, it's one pixel that doesn't fit in the 0.2em padding :-)
If you either use pixel paddings, or change the size of it in ems, or
just resize the font in the browser, the problem disappears.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: David Bowie - Knock On Wood

Dylan Parry
Using a pointed stick and pebbles, Els scraped:

QUOTE
Yes, it's one pixel that doesn't fit in the 0.2em padding :-)
If you either use pixel paddings

Interesting. Thanks for that, Els. Now I think I owe you *two* icecreams
with flakes and sprinkles :)

--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!

Els
Dylan Parry wrote:

QUOTE
Using a pointed stick and pebbles, Els scraped:

Yes, it's one pixel that doesn't fit in the 0.2em padding :-)
If you either use pixel paddings

Interesting. Thanks for that, Els. Now I think I owe you *two* icecreams
with flakes and sprinkles :)

Yup - I'm counting <g>

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Hawkwind - Silver Machine

Dylan Parry
Using a pointed stick and pebbles, Els scraped:

QUOTE
Interesting. Thanks for that, Els. Now I think I owe you *two* icecreams
with flakes and sprinkles :)

Yup - I'm counting <g

When it reaches five or so, I'll have them mailed over to you :P

--
Dylan Parry
http://electricfreedom.org -- Where the Music Progressively Rocks!

Els
Dylan Parry wrote:

QUOTE
Using a pointed stick and pebbles, Els scraped:

Interesting. Thanks for that, Els. Now I think I owe you *two* icecreams
with flakes and sprinkles :)

Yup - I'm counting <g

When it reaches five or so, I'll have them mailed over to you :P

Best wrap them in dry ice ;-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Katie Melua - My Aphrodisiac Is You


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.