HI,
I created this simple test page and it is changing the label - however the checkbox itself is not changing for me... Is there a way to control the style of the checkbox also?
also I put ...
width: 3.0em;
height: 3.0em;
but they are not making the checkbox any bigger for me in firefox - mac
=============
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TEST Document</title>
<style type="text/css">
<!--
input[type="checkbox"]:checked + label {
width: 3.0em;
height: 3.0em;
vertical-align: middle;
background-color: #FFFF99;
background-repeat: repeat;
border: medium solid #666666;
font-weight: bolder;
color: #FF0099;
}
-->
</style>
</head>
<body>
<p>checkbox test</p>
<form id="form1" name="form1" method="post" action="">
<input type="checkbox" name="cb1" id="cb1" />
<label for="cb1">this is checkbox 1</label><br /><br />
<input type="checkbox" name="cb2" id="cb2" />
<label for="cb2">this is checkbox 2</label>
<br /><br />
<input type="checkbox" name="cb3" id="cb3" />
<label for="cb3">this is checkbox 3</label>
</form>
</body>
</html>