Previous Message
Next Message

Bizarre behavior with id as # anchor target

Sent by Kathy Wheeler on 20 May 2008 02:02


I am not sure if this is a css issue, html issue or browser rendering  
issue (leaning towards the latter myself) but it has me stumped.

The following (Drupal generated) page validates XHTML 1.0 Strict and  
with only 2 minor css issues (max-min) I'm prepared to put up with.  
But when it is loaded with the #attachments reference in the url (the  
target is an id on the attachments table) instead of loading the  
whole page and jumping down to the target, everything on the page  
between the header image and attachments table simply disappears -  
including most of the menu!

http://ww2.birdkeepers.com.au/node/21

http://ww2.birdkeepers.com.au/node/21#attachments

It's been tested to (mis)behave the same with SeaMonkey, Firefox,  
Safari and IE6, Mac and PC.

I've gotten around the problem by stripping out any reference to  
"#attachments" in the link urls, but I would like to know if there is  
any way to get the old (jump down the *fully* rendered page) behavior  
back. Is there a css solution (preferred), html solution, or no real  
"solution"?

If there's an OT solution please email me off list, but at the moment  
I'm stumped and got no idea where to start looking.

Cheers,
KathyW.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: