Forum Moderators: not2easy

Message Too Old, No Replies

Submit/Reset buttons

In NN4/Opera 5

         

macmuso

1:06 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



I hate netscape. Unfortunately, I have to make my site compatible with it. Here's my problem:

In IE I can add a border to the submit and reset buttons in a form, ie
<input type="submit" style="border: 1px solid #ACA;">
or
<input type="submit" id="button"> (and set the border in the external stylesheet linked to with the <link rel="">tag).

This looks great in IE, but in Opera and Netscape, all I get is the default rounded button (I'm on a mac, maybe that makes a difference?) with a tiny little box underneath it with a 1px border.

There are a heap more problems I get with netscape, but they seem to be sporadic with nothing at all staying the same! For example, on one page, netscape ignores every single font setting I've made (in the external stylesheet), and makes the text black (the background is black as well), yet obeys my command to set the link colours! Mind you, no hover colour change though. On a different page it does everything I tell it to except the link hover thing. Argh!

scottmack

1:31 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



In NS4, you can't apply borders to inline elements - input, img, A, etc. NS4 has over 400 CSS bugs - there are sites that describe them.

rainborick

3:48 pm on Apr 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I know I'm repeating myself here, but I do recall NS v4.x having a quirk in its stylesheet support such that it stops processing a stylesheet once it encounters something it thinks is an error. That is, instead of ignoring an instruction it doesn't understand as it should, it just stops dead. I suggested in a prior post that it might be a good idea to put all CSS Level 2 instructions in an external stylesheet and use @import, but that's probably too cumbersome to seriously consider for most people.

There's a good compatibility chart on Dr.. Dobbs [ddj.com] Its just slightly out of date now, but its coverage of the older browsers is why I like it anyway. Good luck!