The problem is the input style doesn't work in all browsers. In
particular Opera and some of the Mac browsers will ignore them, if I
remember correctly.

Current version of Opera does excellent job with styling input elements. Opera even lets you change border on checkbox elements. I haven't seen that possibility anywhere else.


On the other hand KHTML (Safari, Konqueror) absolutely refuses to apply any styles to input elements.

For Safari I use such trick:

<div><input/></div>

div {background: darkcolor url(darkimage);}
input {opacity: 0.5; -moz-opacity: 1; background: lightcolor url(lightimage);}


As far as I know currently it is quite safe, but it will start to cause trouble when Opera implements opacity and/or Gecko drops -moz- variant.


-- regards, Kornel Lesiński

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to