Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/02/2010, 11:31
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años
Puntos: 292
Pregunta CSS hack para diferenciar FF de Chrome?

Amigos: me estoy volviendo loco! tengo algo que logro se vea bien en IE / FF ó bien en IE / Chrome pero no puedo lograr se vea bien en Chrome y FF al mismo tiempo (Chrome / FF)

No quisiera usar otra tecnica como comentarios condicionales porque con esta venia bien hasta el advenimiento de Chrome...... que al principio me parecia renderizaba como FF pero ahora noto que no.

Me ayudan ?

Código:
<style>
#sugiere {
 color : inherit;
 border : 0px dashed #ffffff;
 text-align : left;
 width : 350px;
 float : left;
 margin-left: 0px;
 padding-left : 0px;
 padding-right : 0px; 
}              
</style>

<div id='sugiere'>           

<style>
span.required {font-weight: bold; color: #FF0000} 
p.clear { clear: both; margin: 0; padding: 0; }
textarea.estilotextarea {width:320px;height:100px;}
select.estilosel {width:325px;height:20px;}
select.estilosel_mul {width:325px;height:120px;}

input.boton 
{
  width:330px;   /* 338px para Chrome - como ??? */
  / width:325px;
  #width:325px;
  _width:328px;  /* IE 7 */
  
  height:30px;
}   


input.boton_gen {width:100px;height:20px;}

input.required {border-width: 1px; border-style: solid; border-color: red;}
textarea.estilotextarea-required {width:320px;height:100px; border-width: 1px; border-style: solid; border-color: red; }
</style>

<form  action="ingresar"  method="POST"  ENCTYPE="application/x-www-form-urlencoded" name="q_form_72680528871" >
   <input type="hidden" name="modulo" value="ingresar"/>        
   
   <p><label >Direccion web [url]: <span class="required">*</span></label><br/>
   <input type="text" size="50" name="url" value ="<? if(isset($uri)){ echo $uri; }else{ echo "http://"; } ?>"/></p>
  
	
   <p class="clear"></p>
   <p><input type="submit" class="boton" value="Continuar registro" /></p>  
   
</form>
</div>

Si me pueden decir los hacks para Opera y Safari MUY agradecido
__________________
Salu2!

Última edición por Italico76; 19/02/2010 a las 11:36