Sarah Heinemann
Tue, 23 Oct 2007 06:24:30 -0700
>Add...
>#content p a {margin-top: -100px; padding-top: 100px; width: 1px;
.display: block;}
>...and the anchor will appear 100px below top of window and nicely below
>the fixed header.
>The anchor is actually around 115px tall and 1px wide with this styling,
>but that won't bother any of the browsers that support 'position: fixed'
>in the first place. The narrow width is set to prevent the anchor
>covering any of the image-links above it.
>Tested in IE7, Opera 9, Firefox 2 - perfect result.
>regards
Georg
Thank you! That's working wonderfully so far, I'll have to find more
browsers to test it in. I assume that if I end up wanting text links within
the <p> tag inside the content DIV then I just need to make a class
'unstyle' the margins? Something like:
p.fixlink <margin-top: 0px; padding-top: 0px;}
~Sarah
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/