Hi, I need to hide certainly tables rows using <div> tag, I try to manage this from an external CSS file, so, the CSS file looks like this:
#varshomic{
display: none;
}
and in my html file I have this:
<html>
<HEAD><TITLE></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK type='text/css' rel='StyleSheet' href='nomina.css'>
...
....
...
<body>
....
....
<div id="varshomic">
<TR bgcolor="yellow" >
<TD colspan='2' align="center"><b>PROBABLES HOMICIDIOS</b></TD>
</TR>
<TR bgcolor="yellow">
<TD colspan='2' align="center">Numero de Hoja Conjunta
<INPUT type="text" size="5" maxlength="5" name="txthojcon" onKeyDown="enviarSalto(event, 'txttiparm');" onBlur='javascript:this.value=this.value.toUpperCase();'> Tipo de Arma <SELECT name="txttiparm">
<OPTION selected value="0">(Escoja un valor:)</OPTION>
<OPTION>Arma de Fuego</OPTION>
<OPTION>Arma Blanca</OPTION>
<OPTION>Objeto Contundente</OPTION>
<OPTION>Vapuleado</OPTION>
<OPTION>Otras Armas</OPTION>
<OPTION>Desconocido</OPTION>
</SELECT></TD></TR>
</div>
so, my problem is that the rows are always displayed, my question is:
what am I missing to hide all objects inside the <div id="varshomic"> ?
regards