PS
As someone mentioned earlier you should also remove borders from the image,
a img {
border: 0;
}
(since some browsers will treat border as underline in these circumstances)
On Sat, May 3, 2008 10:11 am, Stuart Foulstone wrote:
> Yes there is a simple way.
>
> Set up the anchor hover rule using,
>
> text-decoration: underline;
>
> An image is NOT text so it will not underline the image.
>
> The image should be given an alt text description for when the image is
> not available. This text WILL be underlined on hover which is as it
> should be.
>
>
>
> On Thu, May 1, 2008 10:47 pm, Dean Matthews wrote:
>> When you set up an anchor rule that has an underline on hover meant
>> for text, is there a simple way to prevent the underline on image
>> links in the same ID or do you have to set up a separate class with
>> anchor rules?
>>
>> Thanks,
>>
>> Dean
>>
>>
>>
>>
>> *******************************************************************
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> *******************************************************************
>>
>>
>
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************