HighDots Forums  

Link misbehaviour in Firefox

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Link misbehaviour in Firefox in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rhino
 
Posts: n/a

Default Link misbehaviour in Firefox - 10-27-2007 , 12:46 AM






I'm having an odd problem in Firefox 2.0.0.8. You can see the problem on
this page: http://sfl.london.on.ca/links_groups.shtml.

If you click on any of the three horizontal tabs, nothing happens UNLESS the
mouse is right at the very top edge of the tab. You know you're in the right
place when the status line at the bottom of the browser shows the address of
the link.

What would make the link fire from several pixels ABOVE the actual text of
the link and not ON the actual link itself??

The CSS validates (there are some warnings about colours but no errors) so
that's not the problem. Changing the top and/or bottom padding on the tabs
doesn't change the trigger point: it's still the exact top edge of the tab.
The tabs work normally in IE6, IE7 and Opera.

Does anyone have any idea why this is happening?

--

Rhino




Reply With Quote
  #2  
Old   
Blinky the Shark
 
Posts: n/a

Default Re: Link misbehaviour in Firefox - 10-27-2007 , 02:52 AM






rhino wrote:
Quote:
I'm having an odd problem in Firefox 2.0.0.8. You can see the problem
on this page: http://sfl.london.on.ca/links_groups.shtml.

If you click on any of the three horizontal tabs, nothing happens
UNLESS the mouse is right at the very top edge of the tab. You know
you're in the right place when the status line at the bottom of the
browser shows the address of the link.

What would make the link fire from several pixels ABOVE the actual
text of the link and not ON the actual link itself??

The CSS validates (there are some warnings about colours but no
errors) so that's not the problem. Changing the top and/or bottom
padding on the tabs doesn't change the trigger point: it's still the
exact top edge of the tab. The tabs work normally in IE6, IE7 and
Opera.

Does anyone have any idea why this is happening?
If I look at it with Firebug and highlight your sflinks division, its
top edge seems to cut across those three tabs at about where the tops of
their text is; i.e., about where the edge of working-links and
not-working-links is. I can't get a screen cap of that, but if you
install the Firebug extension in FF and do Inspect and click on this
line of your markup

<div id="sflinks">

you'll see that edge.


--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org


Reply With Quote
  #3  
Old   
transformer
 
Posts: n/a

Default Re: Link misbehaviour in Firefox - 10-27-2007 , 02:53 AM



On Oct 26, 10:46 pm, "rhino" <No.offline.contact.ple... (AT) anonymous (DOT) com>
wrote:
Quote:
I'm having an odd problem in Firefox 2.0.0.8. You can see the problem on
this page:http://sfl.london.on.ca/links_groups.shtml.

If you click on any of the three horizontal tabs, nothing happens UNLESS the
mouse is right at the very top edge of the tab. You know you're in the right
place when the status line at the bottom of the browser shows the address of
the link.

What would make the link fire from several pixels ABOVE the actual text of
the link and not ON the actual link itself??

The CSS validates (there are some warnings about colours but no errors) so
that's not the problem. Changing the top and/or bottom padding on the tabs
doesn't change the trigger point: it's still the exact top edge of the tab.
The tabs work normally in IE6, IE7 and Opera.

Does anyone have any idea why this is happening?

--

Rhino
Hi Rhino,
Don't know much about positioning; I would've used floats for this
layout. That said, in FF I was able to get those tabs working like
this:

#sflinks {
position: relative; <---- Omit it --
top: 0; <---- Omit it --
left: 0; <---- Omit it --
}

It seems that the sflinks div was positioned over the tabs, making
them inaccessible. Removing the position: relative "uncovered" the
tabs and I was able to get to them with my mouse. Someone more
knowledgeable about positioning can probably explain precisely what
was going on.

HTH,
Bill



Reply With Quote
  #4  
Old   
transformer
 
Posts: n/a

Default Re: Link misbehaviour in Firefox - 10-27-2007 , 03:01 AM



On Oct 26, 10:46 pm, "rhino" <No.offline.contact.ple... (AT) anonymous (DOT) com>
wrote:
Quote:
I'm having an odd problem in Firefox 2.0.0.8. You can see the problem on
this page:http://sfl.london.on.ca/links_groups.shtml.

If you click on any of the three horizontal tabs, nothing happens UNLESS the
mouse is right at the very top edge of the tab. You know you're in the right
place when the status line at the bottom of the browser shows the address of
the link.

What would make the link fire from several pixels ABOVE the actual text of
the link and not ON the actual link itself??

The CSS validates (there are some warnings about colours but no errors) so
that's not the problem. Changing the top and/or bottom padding on the tabs
doesn't change the trigger point: it's still the exact top edge of the tab.
The tabs work normally in IE6, IE7 and Opera.

Does anyone have any idea why this is happening?

--

Rhino
Just a post script to my last reply, Rhino. FYI, in FF when the
browser window is below about 1150 pixels wide, your main content div
drops below your index column. Didn't have time to try a fix; sorry.
Bill



Reply With Quote
  #5  
Old   
Ben C
 
Posts: n/a

Default Re: Link misbehaviour in Firefox - 10-27-2007 , 04:32 AM



On 2007-10-27, transformer <smallvoiceshouting (AT) gmail (DOT) com> wrote:
Quote:
On Oct 26, 10:46 pm, "rhino" <No.offline.contact.ple... (AT) anonymous (DOT) com
wrote:
I'm having an odd problem in Firefox 2.0.0.8. You can see the problem on
this page:http://sfl.london.on.ca/links_groups.shtml.

[...]
Hi Rhino,
Don't know much about positioning; I would've used floats for this
layout. That said, in FF I was able to get those tabs working like
this:

#sflinks {
position: relative; <---- Omit it --
top: 0; <---- Omit it --
left: 0; <---- Omit it --
}

It seems that the sflinks div was positioned over the tabs, making
them inaccessible. Removing the position: relative "uncovered" the
tabs and I was able to get to them with my mouse. Someone more
knowledgeable about positioning can probably explain precisely what
was going on.
That's odd. Position: relative; top: 0; left: 0 should do basically
nothing (except establish a containing block for positioned descendents,
which is the only reason I can think of for doing it).

#sflinks does overlap most of the tabs as Blinky pointed out. Since the
tabs are in a float this is to be expected. I think Firefox may have its
stacking order a bit wrong here-- the float should be on top of #sflinks
both visually and from the point of view of clicking on it (you would
have thought).

Anway I would suggest setting clear: both on #sflinks. Instead you're
setting clear on the <ul> inside it. Move that clear up to #sflinks.

And then get rid of that <h4>&nbsp;</h4> above #sflinks which looks
highly suspicious-- at the moment it's that <h4>'s bottom margin that's
providing the narrow "window" through which you can click on the tabs.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.