"@SM" wrote:
[color=blue]
> Grant Wagner a ecrit :[color=green]
> >
> > If you want something that looks like a link to submit a form, I
> > recommend:
> >
> > <style type="text/css">
> > .submitLink {
> > background-color: transparent;
> > padding: 8px;
> > border: 0px solid transparent;
> > color: Blue;
> > text-decoration: underline;
> > cursor: pointer;
> > cursor: hand;
> > }
> > .submitLink:active {
> > border: 0px solid transparent;
> > color: Red;
> > }
> > }
> > </style>
> > <form>
> > <input type="submit" name="submitBtn" value="Order" class="submitLink" />
> >
> > </form>
> >
> > Certainly it isn't as pretty in Netscape 4[/color]
>
> over all in NN4
> who don't know "transparent" and display a black color ! ! !
> By chance (or lucky) NN4 don't accept css on a button.[/color]
In Netscape 4.78, I get a standard grey button with underlined text. Netscape
4.x certainly does honor a number of CSS attributes on <input> elements, and
does it consistently (although some of the behaviour is certainly not what you
would expect, it is consistent between Netscape 4.6x/4.7x clients, at least in
my experience).
[color=blue]
> so use :
>
> .submitLink {
> padding: 8px;[/color]
Remove this, it was part of testing to see if some aspect of the button was
preventing "text-decoration: underline;" from working properly in Opera 7.23.
[color=blue]
> border: 0;
> color: blue;
> text-decoration: underline;
> cursor: pointer;
> cursor: hand;
> }[/color]
"border: 0;" doesn't properly suppress the border in Opera 7.23. In fact,
neither does "border: none;", which is why I went with "border: 0px solid
transparent;". Which specific version of Netscape 4.x doesn't render this
correctly? I'd like to install it and use it for testing.
[color=blue]
> .submitLink:active {
> /* border is the same and herited from above */[/color]
Yes, it was included inadvertently from testing I was doing trying to suppress
the border in Opera 7.23 when the button is pressed, it should have been
removed in the final version.
[color=blue]
> color: Red;
> }[/color]
You know, considering how "standards compliant" Opera claims to be, it
certainly doesn't deal with some of these CSS issues even as adeptly as IE.
--
| Grant Wagner <gwagner@agricoreunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
*
http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
*
http://www.mozilla.org/docs/web-deve...upgrade_2.html