View Full Version : Check and checkbox style


weird girl
02-25-2004, 03:34 AM
I have an "ask me a question" type thing on my site, and I decided to have a little checkbox for someone who wanted a private response. Unfortunately, it didn't have all the lovely style attributes I wanted, and I can't figure out how to "style" checkboxes, and the check when you click to check the box. Can anyone help me?

MaGiCSuN
02-25-2004, 10:17 AM
for the checkbox:


<INPUT TYPE="CHECKBOX" NAME="private">Private Response<P>

then you make a class for the check box and insert the html in there. Like this:

<INPUT TYPE="CHECKBOX" NAME="private" class="private">Private Response<P>

then you add to your css this:

.private { border: 1px solid #COLOR; }

for example. If you have all the <input> tags the same style then you can just put this in your css:

input { all css in here }

and it will change everything that starts with the <input> tag

love,
Mirna