Peter Snow Cao wrote:
> Els wrote:
>
>> Ah, didn't get you the first time. You can have an invisible
>> gif in the <a> element, or even just a &nbsp; if you set the
>> <a> element to display:block;. Just position this link with
>> position:absolute; over the background image that's there.
>> That way it won't mess up any of the rest of page layout.
>> I'd choose a gif over an &nbsp; though, so you can make use of
>> the alt text for people who surf without images, such as Lynx
>> or screenreader users. They wouldn't be able to 'see' the
>> link if it were just a blown up &nbsp;.
>
> I did this and it seems to work, but I don't get what I should
> do about the "position:absolute;"

If it works already, there is no need for position:absolute;.
It's just that if your code was already working without the <a 
href>, and you needed to add in the <a href> and 'lay it over' 
the existing page without messing it up, position:absolute; could 
have done that for you.

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to