Ver Mensaje Individual
  #7 (permalink)  
Antiguo 22/10/2008, 11:58
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Cómo hacer callout SÓLO con css (sin imágenes)

Otra forma de hacerlo, que sí funciona en IE6:

http://www.araudi.net/forosdelweb/callout.html

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>callout</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#caja {width: 200px; height: 100px;
border: solid 2px #000;
margin: 20px;
position: relative;
}
#caja span {font-family: verdana; font-size: 30px;
position: relative;
top: -20px;
background-color: #fff;
display: block;
width: 17px;
overflow: hidden;
text-indent: -4px;
left: 20px;}
</style>
</head>
<body>
<div id="caja"><span>^</span> Otra forma de hacerlo</div>
</body>
</html>
Aunque sólo funciona en blanco (o mismo fondo que color de caja)
__________________
Visita mi nueva web idplus.org