Sent by Marco Scoffier on 14 July 2004 20:08
Hello all, this is my first post to this list.
I checked the archives searching for anchor and target, and couldn't
find a solution, so I thought one of you might have a thought.
When I click on a link with a #target to refer to a part of a page, I
always get the referred tag at the very top of the page. Is there a way
to get the linked to content placed a certain distance from the top of
the page?
say I have a <h2 id="important_stuf">Read this</h2>
and a link <a href="#important_stuf">Read that</a> elsewhere on the
page. I want the <h2> kind of in the middle of the page, rather than
jammed at the top. I tried faking with an artificially large
padding-top, but would prefer a less restrictive solution that doesn't
add a bunch of white space to all my pages.
Thanks for any leads,
--
Marco
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/