Can someone tell me why this hyperlink doesn' t work? - Page 4

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Can someone tell me why this hyperlink doesn' t work?

to share: news:2ee621c9-bd4f-4c53-8b53-

Quoted text here. Click to load it

I won't even pretend to be a CSS expert, or even remotely knowledgeable (I
much prefer tables for layout <neener!>), but an HTML challenge on a boring
night was hard to resist.

Your problem is in this line:

 <div id="UntilWeAreArtAgain" style="position:absolute; width:555px;
height:126px; z-index:7; left: 264px; top: 1237px;">

I don't know what "z-index: 7" is supposed to do, but when the value of 7
is changed to something like, say, 44, the text links again.

Interestingly, with the original value, the text from the beginning of the
line isn't individually selectable until the line that begins with
"literature" - You get the mouse pointer, but not the text-select cursor.

Hope that points you in the right direction.

Marc Bissonnette
Largest ISP comparison site in Canada:
Web hosting search and comparison:

Re: Can someone tell me why this hyperlink doesn' t work?

On Fri, 11 Nov 2011 19:32:34 -0600, Marc Bissonnette put finger to keyboard
and typed:

Quoted text here. Click to load it

Well spotted.

It's causing the problem because the divs are badly positioned and are
overlapping, although that's not visible to the user. However, the div
positioned immediately above this one on the page has a z-index of 8,
meaning that it where the two overlap, the one above is in the foreground.
And the overlap happens to cover the link, meaning that the link is visible
through the transparent overlapping div, but not clickable or selectable.
Changing the z-index to a value higher than 8 puts this div in the
foreground where they overlap, which enables the user to interact with the
text by means of selecting or clicking.

Frankly, though, the entire HTML of the page is a horrible mess, and is
likely to contain little CSS gotchas like this all over the place. But I
can't imagine any human author generating HTML like that. CSS absolute
positioning is advanced stuff, and anyone capable of using it effectively
would be very unlikely to combine that level of knowledge with the stupid
mistakes found in the page (and any competant human author wouldn't use
absolute positioning at all in circumstances like this, where it's
completely unnecessary). My guess, therefore, is that the page is a
conversion to HTML from some other document format, and the conversion
software is attempting to make a pixel-perfect copy of the original rather
than generating clean and standards-compliant HTML and is getting the
positioning wrong in the process.

So the better overall solution would be to recode the pages properly,
rather than converting from document format, or at least to carry out the
conversion with less buggy software.


Site Timeline