|
Posted by Ed Mulroy on 06/09/06 00:11
> <a name=""> is unnecessary, as you can link
> to anything with an id="". All modern browsers support this.
So I should replace
<a name="something"></a>Text
with
<span id="something">Text</span>
and a link such as
webpagename.htm#something
will still work?
> ... or in your stylesheet use a:link:hover instead.
Not "instead". It is already there.
From the style sheet:
---------------------
a:link { color: #000080; text-decoration: none; }
a:visited { color: #800000; text-decoration: none; }
a:hover { color: #000080; text-decoration: underline; background-color:
#D7D7FF; }
a:active { color: #800000; text-decoration: none; }
a:link, a:visited, a:hover, a:active, td.smborders, .navycentmid,
..dayname, .moname
{ font-family: arial,helvetica,sans-serif; }
a:link, a:visited, a:hover, a:active, td.smborders, .dayname, .navycentmid
{ font-size: small; }
---------------------
.. Ed
> Mark Parnell wrote in message
> news:tv4el247roea$.dlg@markparnell.com.au...
>
>> <a name="some_name">Description</a>
>
> <a name=""> is unnecessary, as you can link to anything
> with an id="". All modern browsers support this.
>
>> My style sheet has navy (#000080) text and a white
>> background. For a:hover an underline and light blue
>> background color appear.
>
> Either use an id, or in your stylesheet use a:link:hover instead. This
> will only match anchors with the href attribute.
[Back to original message]
|