Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/01/2002, 15:24
Avatar de mikel_gomez
mikel_gomez
 
Fecha de Ingreso: febrero-2001
Mensajes: 482
Antigüedad: 23 años, 2 meses
Puntos: 3
Re: cambiar tamaños de links

En el ejemplo anterior, lo correcto sería a:hover {font-size: 20;} (no a:hover {font-size=20} aunque Explorer lo coja).

Otro ejemplo:

<pre>&lt;html&gt;
&lt;head&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!-- A:link Especifica el estilo de los enlaces no visitados. --&gt;
&lt;!-- A:hover Indica el estilo del enlace cuando nos situamos sobre él. --&gt;
&lt;!-- A:visited Hace referencia a los enlaces ya visitados. --&gt;
a:link {color: green; text-decoration: none;}
a:hover {color: red; background-color: yellow; font: 20pt arial;}
a:visited {color: yellow; }
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;a href=&quot;Enlace&quot;&gt;Enlace&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt; </pre>

Saludos.

<style>.t{font: 8pt verdana; text-decoration: none; color: black;}</style><hr><span class="t"><a href="mailto:[email protected]" class="t" style="font: 10pt;">Mikel Gómez</a><br>Hay que aprender mucho para saber poco.</span>