I what to hide an input element and the following text. I have the
selector for the input working and just need to grab the text following
it.
CSS:
form{
display:table;
text-align:center;
}
form>input[value="0"][name="denominat or"]{
visibility:hidd en;
}
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html>
<head xmlns="http://www.w3.org/1999/xhtml">
<link rel="stylesheet " type="text/css" href="testf1.cs s" media="all"/>
</head>
<body xmlns="http://www.w3.org/1999/xhtml" whole="0">
<form class="fraction ">
<input type="radio" name="numerator " value="0" checked="checke d"/>0
<input type="radio" name="numerator " value="1"/>1
<input type="radio" name="numerator " value="2"/>2
<input type="radio" name="numerator " value="3"/>3
<hr/>
<input type="radio" name="denominat or" value="0"/>0
<input type="radio" name="denominat or" value="1"/>1
<input type="radio" name="denominat or" value="2"/>2
<input type="radio" name="denominat or" value="3" checked="checke d"/>3
</form>
</body>
</html>
--
C.W.Holeman II | cwhii@Julian5Lo cals.com-5 http://JulianLocals.com/cwhii
To only a fraction of the human race does God give the privilege of
earning one's bread doing what one would have gladly pursued free, for
passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks
selector for the input working and just need to grab the text following
it.
CSS:
form{
display:table;
text-align:center;
}
form>input[value="0"][name="denominat or"]{
visibility:hidd en;
}
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html>
<head xmlns="http://www.w3.org/1999/xhtml">
<link rel="stylesheet " type="text/css" href="testf1.cs s" media="all"/>
</head>
<body xmlns="http://www.w3.org/1999/xhtml" whole="0">
<form class="fraction ">
<input type="radio" name="numerator " value="0" checked="checke d"/>0
<input type="radio" name="numerator " value="1"/>1
<input type="radio" name="numerator " value="2"/>2
<input type="radio" name="numerator " value="3"/>3
<hr/>
<input type="radio" name="denominat or" value="0"/>0
<input type="radio" name="denominat or" value="1"/>1
<input type="radio" name="denominat or" value="2"/>2
<input type="radio" name="denominat or" value="3" checked="checke d"/>3
</form>
</body>
</html>
--
C.W.Holeman II | cwhii@Julian5Lo cals.com-5 http://JulianLocals.com/cwhii
To only a fraction of the human race does God give the privilege of
earning one's bread doing what one would have gladly pursued free, for
passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks
Comment