in comp.infosystems.
www.authoring.html, Trevor Orton wrote:
<a href="passwdhlp.html">
<button type="button" name="Help" style="font: 11pt arial bold;
background white;color:red">Help!</button>
</a>
It is bad idea to make link look button, much better use plain link.
I'm no expert on this but I noticed the colon is missing between
'background' and 'white'.
Sure. Most likely because op didn't get it right, and didn't send URL to
us check it.
Also, you could try 'background-color' instead of
'background'.
That is always bad idea. What if user has
button { background-image: url(foobar)}
(somewhat unlikely though. But some browsers have such option on skinning
- not sure if it causes problems though)
I'm making the assumption that an error in the style section
could affect functionality.
Button element is useless on practically all purposes, not only because
IE doesn't support it.
Better:
If it needs to look button for some unobvious reason:
[value="help"] {color:red;background:#fff;}
<form method="get" action="passwdhlp.html"><input type="submit"
value="help"></form>
Even better:
a {color:red;border:solid 2px;background:#fff;border-color:#fff #999 #999
#fff;}
<a href="passwordhlp.html">Help</a>
Best:
<a href="passwordhlp.html">Help</a>
(whiout buttonlike style)
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>