Posted by Mark Parnell on 01/19/06 05:46
Deciding to do something for the good of humanity, WJ <wj@nospam.com>
spouted in alt.html:
> I am trying to make a button behave exactly like an href.
You've got it backwards. It *is* a link, so use the correct element
(<a>). Once you have done that, you can worry about what it looks like.
If you want it to look like a button, you can style the anchor
appropriately.
OTTOMH and not tested:
a:link {display: block; width: 8em; height: 1.5em; background-color:
#999999; border-top: 1px solid #CCCCCC; border-right: 1px solid #333333;
border-bottom: 1px solid #333333; border-left: 1px solid #CCCCCC;
text-decoration: none; color: #000000; cursor: default;}
> Users just want buttons instead of hyperlinks.
What makes you think that?
--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
[Back to original message]
|