Click to See Complete Forum and Search --> : Working with Form Elements


tobysaville
05-19-2003, 04:39 AM
Is there any way to change, through CSS, the formatting of different form elements (eg all radio, or all buttons) with adding a class to them?

Thanks,

Toby

Fang
05-19-2003, 07:36 AM
Yes use something like this for all <INPUT>s
INPUT {border-top:none;border-right:none;border-bottom:1px solid #cc0;border-left:none;color:blue;}
or
INPUT.entry {whatever}
for class="entry"

havik
05-19-2003, 02:13 PM
select boxes are more troublesome to customize, I tried editing a few one time and I couldn't get it to work like the other form elements were.

Havik

tobysaville
05-19-2003, 07:43 PM
Thank you both for your replys, fantastic. I was wondering if there is something similar to a:link, maybe input:radio or input:text or something, but i think your answers point to the case being no.

Thanks again,

Toby