<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZoneArtCSS &#124; Tu lugar: Del Arte CSS &#187; fix</title>
	<atom:link href="http://www.zoneartcss.com/tag/fix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoneartcss.com</link>
	<description>Tu Zona del Arte CSS, tips de programación con estilo</description>
	<lastBuildDate>Thu, 29 Jul 2010 05:00:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Propiedad CSS Outline</title>
		<link>http://www.zoneartcss.com/webdesign/css/propiedad-css-outline/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/propiedad-css-outline/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 18:18:16 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[a]]></category>
		<category><![CDATA[borde]]></category>
		<category><![CDATA[Enlaces]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[outline]]></category>
		<category><![CDATA[reset css]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=338</guid>
		<description><![CDATA[
Bueno siempre me han preguntado &#8220;De donde rayos sale ese borde&#8221;? si tengo en mis estilos en el reset css *{border:0;}&#8221; (chiste)&#8230; pues si a muchos les ha pasado que cuando andamos en FF, a los enlaces cuando tienen el foco (al darles click) aparece un molesto borde punteado al rededor&#8230;

Esto es para resaltar el [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/outline+css/outline_css.jpg" alt="de donde salen esos bordes a mis enlaces? pues outline css jaja" width="500" height="130" /></p>
<p>Bueno siempre me han preguntado &#8220;De donde rayos sale ese borde&#8221;? si tengo en mis estilos en el <strong>reset css</strong> *{border:0;}&#8221; (chiste)&#8230; pues si a muchos les ha pasado que cuando andamos en FF, a los enlaces cuando tienen el foco (al darles click) aparece un molesto borde punteado al rededor&#8230;<br />
<span id="more-338"></span><br />
Esto es para resaltar el elemento que tiene el foco con el resto, pero bueno, este &#8220;borde&#8221; o &#8220;contorno&#8221; &#8220;fastidioso&#8221; (para muchos) que tienen los enalaces lo podemos arreglar de esta manera.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">a<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Sencillo no?&#8230; y bueno acontinuacion les dejo las variantes que podemos hacer con esta propiedad.<br />
<a href="http://www.zoneartcss.com/ejemplos/css/outline+css/que_es_outline.html">Ver demo en linea</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/propiedad-css-outline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seguridad Php by YorchX</title>
		<link>http://www.zoneartcss.com/tips/seguridad-php-by-yorchx/</link>
		<comments>http://www.zoneartcss.com/tips/seguridad-php-by-yorchx/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:15:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Seguridad Web]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[base de datos]]></category>
		<category><![CDATA[data base]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[inyeccion]]></category>
		<category><![CDATA[inyecion mysql]]></category>
		<category><![CDATA[inyection]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[protect]]></category>
		<category><![CDATA[protegiendo nuestro codigo]]></category>
		<category><![CDATA[safe]]></category>
		<category><![CDATA[seguridad]]></category>
		<category><![CDATA[sistem]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/seguridad-web/seguridad-php-by-yorchx/</guid>
		<description><![CDATA[
Muchos sistemas utilizan un codigo muy parecido a este para comprobar el usuario y la contraseña  del usuario y de su contraseña, por ejemplo para controlar el acceso a un área de administración:


1
    $check = mysql_query(&#34;SELECT Username, Password, UserLevel FROM Users WHERE Username = '&#34;.$_POST['username'].&#34;' and Password = '&#34;.$_POST['password'].&#34;'&#34;);

Parece que no [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/wp-content/safe_php.jpg" alt="Seguridad en php by yorch" width="500" height="130" /></p>
<p>Muchos <strong>sistemas</strong> utilizan un <strong>codigo</strong> muy parecido a este para comprobar el <strong>usuario</strong> y la <strong>contraseña</strong>  del usuario y de su contraseña, por ejemplo para controlar el acceso a un área de <strong>administración</strong>:<br />
<span id="more-207"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;">    $check = mysql_query(&quot;SELECT Username, Password, UserLevel FROM Users WHERE Username = '&quot;.$_POST['username'].&quot;' and Password = '&quot;.$_POST['password'].&quot;'&quot;);</pre></td></tr></table></div>

<p>Parece que no podría hacer mucho daño. Pero digamos por un momento que introduzco el siguiente ”usuario ” en el formulario:</p>
<p>    &#8216;O 1=1 # </p>
<p>La pregunta que va a ser ejecutada sería esta:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;">    SELECT Username, Password FROM Users WHERE Username = '' OR 1=1 #' and Password = ''</pre></td></tr></table></div>

<p>La almohadilla (#) le dice aMySQL que todo que le sigue es un comentario y que no debe de hacerle caso. Ejecutará <strong>SQL</strong> hasta ese punto. Despues 1 es igual a 1, SQL devolverá todos los usuarios y contraseñas de la <strong>base de datos</strong>. Y como la primera combinación del usuario y de contraseña en la mayoría de las bases de datos es la de el ADMINISTRADOR, la persona que incorporó simplemente algunos símbolos en un formulario ahora entra como administrador de la Web , con los mismos <strong>privilegios</strong> que tendría si supiera realmente el usuario y la contraseña.</p>
<p>Con una poca de <strong>creatividad</strong>, este agujero de seguridad se puede explotar aun más lejos, permitiendo que un usuario cree su propia cuenta , lea números de las <strong>TARJETAS DE CRÉDITO</strong> o simplemente <strong>VACIE LA BASE DE DATOS</strong>.</p>
<p>Afortunadamente, este tipo de <strong>vulnerabilidad</strong> es bastante fácil de solucionar. Comprobando si hay algun caracter raro cuando el usuario introduce los datos, y quitándolos o neutralizandos, podemos evitar que cualquier persona utilize su propio código del SQL en nuestra base de datos. La función que sigue sería la adecuada:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">function</span> make_safe<span style="color: #009900;">&#40;</span><span style="color: #000088;">$variable</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
       <span style="color: #000088;">$variable</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addslashes</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$variable</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
       <span style="color: #b1b100;">return</span> <span style="color: #000088;">$variable</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Ahora debemos modificar nuestra consulta. En vez de usar variables _POST como en la consulta de arriba, ahora utilizamos todos los datos del usuario con la función make_safe, dando por resultado el código siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> make_safe<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> make_safe<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$check</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT Username, Password, UserLevel FROM Users WHERE Username = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$username</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' and Password = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$password</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Ahora, si un usuario incorporó los datos anteriormente citados, la consulta será la siguiente, que es totalmente inofensiva. La consulta siguiente seleccionará de una base de datos los registros donde el usuario es igual a “\ &#8216;O o 1=1 #”.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;">    SELECT Username, Password, UserLevel FROM Users WHERE Username = '\' OR 1=1 #' and Password = ''</pre></td></tr></table></div>

<p>Ahora, a menos que tengas un usuario con un nombre muy inusual y una contraseña en blanco, tu malévolo atacante no podrá hacer ningún daño en tu <strong>sitio Web</strong>. Es importante comprobar todos los datos pasados a tu base de datos. Las cabeceras de <strong>HTTP</strong> enviados por elusuario pueden ser falsificadas. Su dirección de remitente tambien puede ser falsificada</p>
<p>Granito de Arena de: <strong>YorchX</strong></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/tips/seguridad-php-by-yorchx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Div 100% alto definitivo</title>
		<link>http://www.zoneartcss.com/webdesign/css/div-100-alto-definitivo/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/div-100-alto-definitivo/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 04:42:31 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[100%]]></category>
		<category><![CDATA[2 divs]]></category>
		<category><![CDATA[altura]]></category>
		<category><![CDATA[columnas]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[igualar]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[margin]]></category>
		<category><![CDATA[misma altura]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[problema]]></category>
		<category><![CDATA[relative]]></category>
		<category><![CDATA[solucion]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=211</guid>
		<description><![CDATA[
Bua&#8230;. como lo dice el titulo&#8230; porfin una solucion, sino la correcta, supongo que la unica por el momento&#8230; (y si me equivoco manda la tuya haciendo click aqui), y siempre que necesitamos dar este efecto en nuestros diseños&#8230; acabamos haciendolo con javascript&#8230; o si tenemos un diseño fijo, estatico, pues optamos por el uso [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/div_100_height/div_iguales.jpg" alt="igualar tamaños de divs al 100%" width="500" height="130" /></p>
<p>Bua&#8230;. como lo dice el titulo&#8230; porfin una <strong>solucion</strong>, sino la <strong>correcta</strong>, supongo que la unica por el momento&#8230; (<a href="http://www.zoneartcss.com/informacion/">y si me equivoco manda la tuya haciendo click aqui</a>), y siempre que necesitamos dar este <strong>efecto </strong>en nuestros <strong>diseños</strong>&#8230; acabamos haciendolo con javascript&#8230; o si tenemos <strong>un diseño fijo, estatico</strong>, pues optamos por el uso de una <strong>imagen de fondo&#8230;</strong> <span id="more-211"></span>que no es lo mas conveniente en algunas ocaciones pero si nos ahorra horas y frustraciones pero bueno. eh aqui la solucion para <strong>igualar nuestras columnas</strong>, cuando estan dentro de un div contenedor&#8230; y dar el efecto de <strong>divs relativamente iguales en su altura.</strong>..</p>
<p>Al lio&#8230; tenemos nuestro div contenedor (class=&#8221;all&#8221;) y dentro tenemos otros 2 div &#8217;s (class=&#8221;contenido&#8221; y class=&#8221;lateral&#8221;) y queremos que tengan <strong>la misma altura</strong> cubriendo asi el 100% del contenedor (class=&#8221;all&#8221;)&#8230; entonces el html es:&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contenido&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>nuestra primera columna<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;lateral&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>nuestra segunda columna.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>Ahora para dar el efecto necesitamos hacer uso del &#8220;<strong>overflow</strong>&#8221; para que nos oculte el scroll que nos da el  &#8220;<strong>padding</strong>&#8221; y el &#8220;<strong>margin</strong>&#8220;, que son ridiculamente enormes y nos da mucha <strong>altura</strong>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.all</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.contenido</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.lateral</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>padding-<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">30000px</span><span style="color: #00AA00;">;</span>margin-<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">-30000px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><a href="http://www.zoneartcss.com/ejemplos/css/div_100_height/div_100_height.html">Click para ver demo en linea</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/div-100-alto-definitivo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menús desplegables solo con CSS</title>
		<link>http://www.zoneartcss.com/webdesign/css/menus-desplegables-solo-con-css/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/menus-desplegables-solo-con-css/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 21:53:44 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[deslisable]]></category>
		<category><![CDATA[dexplegable]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[li:hover]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[Menús]]></category>
		<category><![CDATA[slide]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=188</guid>
		<description><![CDATA[
Hola ahora intentaremos, crear un menu solo con css&#8230; para luego agregarle un submenu desplegable&#8230; igual solo con css, primero lo primero&#8230;
1. Nuestro codigo para  el menu, algo sencillo, 6 link, dentro de una lista y su enlace.


1
2
3
4
5
6
7
8
9
10
&#60;div class=&#34;menu&#34;&#62;
    &#60;ul&#62;
        &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Menu uno&#60;/a&#62;&#60;/li&#62;
  [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/menu_solo_con_css/menu_css.jpg" alt="meu solo con css" width="500" height="130" /></p>
<p>Hola ahora intentaremos, <strong>crear un menu solo con css</strong>&#8230; para luego agregarle un <strong>submenu desplegable</strong>&#8230; igual <strong>solo con css</strong>, primero lo primero&#8230;</p>
<p>1. Nuestro <strong>codigo</strong> para  el <strong>menu</strong>, algo sencillo, 6 link, dentro de una lista y su enlace.<br />
<span id="more-188"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;menu&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu uno<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu dos<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu tres<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu cuatro<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu cinco<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu seis<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>2. Ahora le <strong>daremos estilo</strong> a lo anterior&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*Nuestras propiedades generales*/</span>
<span style="color: #00AA00;">*</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>padding<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>outline<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>text-decoration<span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>border<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
body<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">900px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #933;">50px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*Relevante*/</span>
ul<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Importante aqui le quitamos todas las viñetas a nuestro sitio*/</span>
<span style="color: #00AA00;">&#125;</span>
.menu<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">850px</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">620px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Importante para que todas nuestras listas, esten en una misma linea, igual podemos usar el &quot;float:left;&quot; pero tendriamos que darle un &quot;width&quot; para evitar &quot;advertencias&quot; CSS,*/</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Importante para el submenu pero por ahora no*/</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Aqui prodriamos usar el &quot;display:inline;&quot; pero no respetaba sus medidas, asi que podriamos cambiarlo a &quot;display:inline-block;&quot; y se veria correcto, pero ie 6 y 7, aun no lo llevan asi que para evitar problemas, seguimos con el viejo &quot;float:left&quot;*/</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span> <span style="color: #933;">10px</span>/<span style="color: #933;">4.5em</span> Verdana<span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Siempre me han pedido un manual para abreviar el CSS, trankilos ya viene... aqui, le di el font:weight, size, line-heigth, y font-family&quot;*/</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn_a.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn_a.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Usuamos una sola imagen y al pasar el cursor se baja el fondo 50px para hacer el efecto sin JS*/</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#35608B</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Y listo tenemos neustro menu solo con CSS, valido, ligero y sobretodo <strong>sin JS</strong>;<br />
de hecho confiezo que no tengo ni puñ&#8230;era idea de como hacerlo con JS jeje pero bueno&#8230; para eso tenemos al amigo CSS&#8230;</p>
<p><a href="http://www.zoneartcss.com/ejemplos/css/menu_solo_con_css/menu_css.html">Ver demo en linea</a></p>
<p>Bien, ahora simplemente le agregamos estas lineas para tener nuestro &#8220;<strong>submenu</strong>&#8220;&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;menu&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu uno<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu dos<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu tres<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
            <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
                <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>SubMenu uno<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
                <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>SubMenu dos<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
                <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>SubMenu tres<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
                <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>SubMenu cuatro<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
            <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu cuatro<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu cinco<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu seis<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>Nota: Lo malo que como haremos uso del <strong>li:hover</strong> no funcionara en <strong>ie6</strong>, mas adelante les doy una alternativa&#8230; para que funcione en todos los navegadores&#8230; pero con el codigo <strong>html</strong> invalido&#8230; o igual podemos hacer uso de este <a href="http://www.zoneartcss.com/css/fix-css-loqueseahover-para-ie-6/">fix para los hover en ie6</a>.</p>
<p>y ahora los estilos para el submenu&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>padding<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>outline<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>text-decoration<span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>border<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
body<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">900px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
.menu<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">850px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">620px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Esta vez le dimos un float left... para que no de problemas la posision relativa*/</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span> <span style="color: #933;">10px</span>/<span style="color: #933;">4.5em</span> Verdana<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn_a.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_mn_a.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#35608B</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*MENU DESPLEGABLE*/</span>
<span style="color: #6666ff;">.menu</span> ul li<span style="color: #3333ff;">:hover </span>ul<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/*Indicamos que en hover del menu muestre el submenu*/</span>
<span style="color: #6666ff;">.menu</span> ul ul<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*indicamos que al cargar la web no muestre el submenu*/</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Le cambiamos el ancho sino hereda del ul anterior*/</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#5696C1</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul ul li<span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.menu</span> ul ul li a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>	
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul ul li a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#A3CADB</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">180px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#A3CADB</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.menu</span> ul ul li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><a href="http://www.zoneartcss.com/ejemplos/css/menu_solo_con_css/menu_desplegable_css.html">Ver demo en linea</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/menus-desplegables-solo-con-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>position:fixed para Internet Explorer 6</title>
		<link>http://www.zoneartcss.com/webdesign/css/positionfixed-para-internet-explorer-6/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/positionfixed-para-internet-explorer-6/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 01:19:48 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[efecto]]></category>
		<category><![CDATA[elementos]]></category>
		<category><![CDATA[estilo]]></category>
		<category><![CDATA[fija]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet explor]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[posicion]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[problema]]></category>
		<category><![CDATA[solucion]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=161</guid>
		<description><![CDATA[
Bueno despues de tratar, y utilizar un millon de hacks&#8230; eh encontrado una solucion&#8230; ok no valida pero sirve&#8230; asi k toca joderse otra vez&#8230; por culpa de&#8230; adivinen&#8230;. sip&#8230; FUCK IE 6 acertaron&#8230; (joer&#8230; k cliche de post) pero bueno&#8230; eh aqui la luz&#8230;

Tenemos nuestro div &#8220;cabecera&#8221; que tiene el fondo, ancho, alto etc&#8230; [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/position_fixed/position_fixed.jpg" alt="Position fixed para ie6" width="500" height="130" /></p>
<p>Bueno despues de tratar, y utilizar un millon de <strong>hacks</strong>&#8230; eh encontrado una <strong>solucion</strong>&#8230; ok <strong>no valida</strong> pero sirve&#8230; asi k toca joderse otra vez&#8230; por culpa de&#8230; adivinen&#8230;. sip&#8230; <strong>FUCK IE 6</strong> acertaron&#8230; (joer&#8230; k cliche de post) pero bueno&#8230; eh aqui la luz&#8230;<br />
<span id="more-161"></span><br />
Tenemos nuestro <strong>div</strong> &#8220;cabecera&#8221; que tiene el <strong>fondo</strong>, <strong>ancho</strong>, <strong>alto</strong> etc&#8230; y le agregamos&#8230; position:absolute; esto es para <strong>IE6</strong>, y el siguiente codigo en <strong>JS</strong> (No estoy seguro de que sea JS, no se <strong>programar</strong> mucho tansolo, <strong>diseño</strong> y <strong>css</strong>, pero si me equivoco corrijanme) hace el <strong>efecto</strong> de &#8220;<strong>estar fijo</strong>&#8220;, tomando en cuenta el movimiento de nuestro scroll del mouse para darle las cordenadas de arriba e izquierda para simular la posicion fija&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.cabecera</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>width<span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>position<span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span>expression<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">+</span><span style="color: #00AA00;">&#40;</span><span style="color: #00AA00;">&#40;</span>e<span style="color: #00AA00;">=</span>document<span style="color: #6666ff;">.documentElement</span>.scrollTop<span style="color: #00AA00;">&#41;</span>?e<span style="color: #3333ff;">:document</span><span style="color: #6666ff;">.body</span>.scrollTop<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">+</span><span style="color: #ff0000;">'px'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span>expression<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">+</span><span style="color: #00AA00;">&#40;</span><span style="color: #00AA00;">&#40;</span>e<span style="color: #00AA00;">=</span>document<span style="color: #6666ff;">.documentElement</span>.scrollLeft<span style="color: #00AA00;">&#41;</span>?e<span style="color: #3333ff;">:document</span><span style="color: #6666ff;">.body</span>.scrollLeft<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">+</span><span style="color: #ff0000;">'px'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">3em</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Y ahora hacemos uso de > para que solo nuestros bonitos navegadores interpreten el siguiente codigo&#8230; y es todo</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&gt;</span> div<span style="color: #6666ff;">.cabecera</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">fixed</span><span style="color: #00AA00;">;</span>top<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>left<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>y nuestro <strong>html</strong> algo asi</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;cabecera&quot;</span>&gt;</span>
Posicion fija: <span style="color: #ddbb00;">&amp;lt;</span>/Alex Aguiar<span style="color: #ddbb00;">&amp;gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>pero yo le agregue un div mas dandole mucha altura para hacer la prueba&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;width:800px;height:1000px;margin:auto;&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p><a href="http://www.zoneartcss.com/ejemplos/css/position_fixed/position_fixed_ie_6.html">Ver demo online</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/positionfixed-para-internet-explorer-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IE PNG FIX &#8211; Solucion a PNG &#8217;s con transparencia en IE6</title>
		<link>http://www.zoneartcss.com/general/ie-png-fix-solucion-a-png-s-con-transparencia-en-ie6/</link>
		<comments>http://www.zoneartcss.com/general/ie-png-fix-solucion-a-png-s-con-transparencia-en-ie6/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 03:01:29 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[32 bit]]></category>
		<category><![CDATA[8-bits]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[problema]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[solucion]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[transparente]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=96</guid>
		<description><![CDATA[
Porfin una solucion definitiva para los PNG con transparencia en IE con Javascript y Prototype.

Ya sabemos todos lo amargo que es que este famoso Internet Explorer 6 nos haga mas dificil nuestros proyectos, cuando llegamos al famoso &#8220;Test en otros navegadores&#8221;, en lo personal eh probado miles&#8230; de FIXS, HACKS, y otras soluciones y metodos [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/wp-content/ie_trans_fix.jpg" alt="soy ie6 y soy transparente" width="500" height="130" /></p>
<p>Porfin una <strong>solucion definitiva </strong>para los <strong>PNG</strong> con <strong>transparencia</strong> en <strong>IE</strong> con <strong>Javascript</strong> y <strong>Prototype.</strong><br />
<span id="more-96"></span><br />
Ya sabemos todos lo amargo que es que este famoso <strong>Internet Explorer 6 </strong>nos haga mas dificil nuestros proyectos, cuando llegamos al famoso &#8220;Test en otros navegadores&#8221;, en lo personal eh probado miles&#8230; de <strong>FIXS</strong>, <strong>HACKS</strong>, y otras <strong>soluciones</strong> y <strong>metodos</strong> extraños, muy prometedores pero nunca, me funcionaron&#8230; algunas gentes dicen que si&#8230; pero bueno, espero que la utilizen y queden satisfechos como yo&#8230; estoy <strong>implementando</strong> un <strong>Theme</strong> para <strong>Wordpress</strong> en la <strong><a title="Sistemex - Web Solutions" href="http://sistemex.com/" target="_blank">empresa</a></strong> donde trabajo&#8230; y uso <strong>transparencias</strong> y me fue y es muy util esta <strong>solucion</strong> a los <strong>PNG&#8217;S </strong>y aqui la comparto con ustedes&#8230;</p>
<h2><span style="color: #808000;"><strong>Antes de aplicarlo es bueno saber que:</strong></span></h2>
<p>1.- Necesita la <strong>libreria JS</strong> de <a title="Prototype JavaScript framework: Prototype 1.6.0" href="http://www.prototypejs.org/2007/8/15/prototype-1-6-0-release-candidate">Prototype 1.6</a><br />
2.- Funciona tanto en imagenes (&lt;img/&gt;) como en (#<strong>css</strong>{<strong>background</strong>:url&#8230;}), pero!&#8230; si es un <strong>fondo en mosaico</strong> (que se repite X o Y o las 2) no funciona.</p>
<p>Bueno&#8230; para aplicarlo como eh dicho necesita <strong>Prototype</strong> asi que lo llamamos desde nuestro <strong>&lt;head&gt;</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascripts/prototype.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></td></tr></table></div>

<p>luego llamamos a <strong>pngHack.js</strong> este archivo necesita un <strong>gif</strong> (s.gif) que viene en dentro del <strong>zip</strong>&#8230; simplemente lo agregamos en una carpeta llamada &#8220;<strong>images</strong>&#8220;,</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascripts/pngHack.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></td></tr></table></div>

<p>Luego llamamos a <strong>functions.js</strong> que es donde configuramos nuestros elementos que tendran <strong>transparencia</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascripts/functions.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// aplica el hack al elemento con la &quot;&lt;strong&gt;id&lt;/strong&gt;&quot; &lt;strong&gt;yourPNG&lt;/strong&gt;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'yourPNG'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">pngHack</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// aplica el hack a todos estos elementos</span>
$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div#fixMe'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'img#andMe'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'img.andUsTo'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'pngHack'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><a href="http://deletem3.com/dump/pngHack/readme.html">Ver demo en linea</a><br />
<a href="http://code.google.com/p/pnghack/downloads/list">Descargar PNG FIX FOR IE</a><br />
Y eso es todo por ahora&#8230; tratare de encontrar mas soluciones a este enorme problema&#8230;</p>
<p>Conoces una solucion mas???<br />
funciona al 100%????<br />
quieres compartirla con nosotros??&#8230;.<br />
pues envianos tus aportaciones a&#8230;. <a href="http://www.zoneartcss.com/informacion/">Tu Granito de Arena!!</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/general/ie-png-fix-solucion-a-png-s-con-transparencia-en-ie6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix CSS &#8220;#Loquesea:hover&#8221; para IE 6</title>
		<link>http://www.zoneartcss.com/webdesign/css/fix-css-loqueseahover-para-ie-6/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/fix-css-loqueseahover-para-ie-6/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 16:00:05 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[li]]></category>
		<category><![CDATA[libreria]]></category>
		<category><![CDATA[loquesea]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[problema]]></category>
		<category><![CDATA[solucion]]></category>
		<category><![CDATA[Whatever]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=60</guid>
		<description><![CDATA[
Bueno a la hora de revisar nuestros proyectos en diferentes navegadores y todos nos topamos con la inminente llegada del &#8220;FCK IE&#8221; y mas aun el IE6, siempre el enojo que por alguna razon que enverdad me la suda, no funcionan algunas propiedades CSS&#8230; y en este caso el &#8221; *:hover &#8221;

Si aveces&#8230; muchos implementadores [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/loquesea_hover/loquesea-hover.jpg" alt="#loquesea:hover fix para internet explorer 6 y otros" width="500" height="130" /></p>
<p>Bueno a la hora de revisar nuestros proyectos en diferentes <strong>navegadores</strong> y todos nos topamos con la inminente llegada del &#8220;<strong>FCK IE</strong>&#8221; y mas aun el <strong>IE6</strong>, siempre el enojo que por alguna razon que enverdad me la suda, no funcionan algunas propiedades CSS&#8230; y en este caso el &#8221; *<strong>:hover</strong> &#8221;<br />
<span id="more-60"></span><br />
Si aveces&#8230; muchos implementadores con experiencia, ni saben que en el <strong>IE6</strong> esta y otras <strong>propiedades CSS</strong> no andan,  ya que maquetan a <strong>XHTML/CSS</strong> sin importarles si funciona o no en algun <strong>explorador</strong>, cumplen en tener sus <strong>codigos estandarizados (validos por la W3C)</strong>; pero nosotros no somos asi (chiste) y nos gusta ser lo mas optimo para con nuestros clientes y/o visitantes de estos&#8230; asi que aqui les pongo 2 <strong>opcion</strong>es o bien <strong>solucion</strong>es a este y otros problemas con el  FKC IE&#8230;</p>
<p><strong>Primera solución:</strong><br />
Whatever:hover<br />
<a title="Whatever:hover fix css ie" href="http://www.xs4all.nl/~peterned/csshover.html" target="_blank"> Link de la web del autor</a></p>
<p>Esta enfocada a solo resolver el &#8220;<strong>loquesea:hover</strong>&#8221; en IE6&#8230; es ligera, discreta y nos<br />
vale para tener el famoso &#8220;<strong>li:hover</strong>&#8221; en nuestros <strong>menus</strong> y submenus&#8230; o igual nuestas &#8220;<strong>img:hover</strong>&#8221; en algunas ocaciones.</p>
<p><strong>Descargar:</strong><br />
Esta ultima version nos arregla tambien el<br />
<strong> :hover<br />
:active<br />
:focus</strong></p>
<p><a title="download version packet" href="http://www.xs4all.nl/~peterned/htc/csshover3.htc" target="_blank">Descargar version ligera/paquetada</a></p>
<p><a title="download no packet" href="http://www.xs4all.nl/~peterned/htc/csshover3-source.htc" target="_blank">Descargar el codigo de fuente/sin empaquetar</a></p>
<p><strong>Y como lo aplicamos?</strong><br />
Tan facil y sencillo como agregar esto en el body de nuestra <strong>hoja de estilos</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&#123;</span>behavior<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">&quot;csshover3.htc&quot;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Segunda Opcion:</strong><br />
En lo personal me gusta esta opcion ya que tiene mas arreglos&#8230; y aveces hace que nuestros proyectos, se vean casi igual en todos los IE&#8230;<br />
<strong>:hover<br />
:first-child<br />
:background-image (transparencia PNG; pero no con imagenes en mosaico o bien que se repita)<br />
:max-height &#8211; :min-height<br />
:max-width  &#8211; :min-width<br />
position:fixed;</strong><br />
etc, etc&#8230; enfin una buena <strong>libreria js</strong> que nos ahorrara mucho tiempo y evitariamos miles de &#8220;<strong>Hacks</strong>&#8221; que solo nos dan un <strong>codigo CSS sucio, feo, e invalido</strong>&#8230; y diria que casi debe ser un complemento mas e imprescindible en nuestros proyectos.</p>
<p><strong>Descargar:</strong><br />
La version actual es 2.0 beta 3<br />
y podemos ver las otras versiones aqui del ie7 js en google<br />
http://ie7-js.googlecode.com/svn/version/</p>
<p><strong>Y como lo aplicamos?</strong><br />
Igual es sencillo si queremos una solucion rapida y externa podemos usar este codigo para actualizar cualquier version del IE anterior al IE7 con esto</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 7]&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;script src=&quot;http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></pre></td></tr></table></div>

<p>tambien podemos usar esta libreria para actualizar cualquier version del IE anterior al IE8</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 8]&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;script src=&quot;http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></pre></td></tr></table></div>

<p>si queremos podemos descargarnos la libreria e integrarla en nuestros proyectos y solo cambiamos la url del destino del archivo js ejemplo:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 8]&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;script src=&quot;miproyecto/js/IE8.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></pre></td></tr></table></div>

<p><a title="ver demo enlinea js 7 google" href="http://ie7-js.googlecode.com/svn/test/index.html" target="_blank">Ver demo enlinea</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/fix-css-loqueseahover-para-ie-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opacidad con css [+FIX]</title>
		<link>http://www.zoneartcss.com/webdesign/css/opacidad-con-css-fix/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/opacidad-con-css-fix/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 19:05:09 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[efecto]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[heredar]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[opacidad]]></category>
		<category><![CDATA[opacity]]></category>
		<category><![CDATA[solucion]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=49</guid>
		<description><![CDATA[
Ahora veremos como agregar opacidad con CSS a nuestros elementos&#8230; HTML, simplemente agregamos

1
2
3
		-moz-opacity:.5;	/*Para Firefox, opera y similares*/
		opacity:.5;/*Para IE8*/
		filter:alpha&#40;opacity=50&#41;;/*Para el resto de IE*/

Y simplemente variamos los numeros a nuestro antojo, y asi alcanzar el tono deseado de opacidad. Claro tendriamos que agregarle un color de fondo o una imagen si queremos para ver el efecto opaco&#8230; [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/ejemplos/css/opacidad_css/fix_opacidad_css.jpg" alt="Opacidad con css y fix para no heredar lo opaco" width="500" height="130" /></p>
<p>Ahora veremos como agregar <strong>opacidad</strong> con <strong>CSS</strong> a nuestros elementos&#8230; <strong>HTML</strong>, simplemente agregamos<span id="more-49"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">		-moz-opacity<span style="color: #00AA00;">:</span>.5<span style="color: #00AA00;">;</span>	<span style="color: #808080; font-style: italic;">/*Para Firefox, opera y similares*/</span>
		opacity<span style="color: #00AA00;">:</span>.5<span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Para IE8*/</span>
		filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">50</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Para el resto de IE*/</span></pre></td></tr></table></div>

<p>Y simplemente variamos los numeros a nuestro antojo, y asi alcanzar el tono deseado de <strong>opacidad</strong>. Claro tendriamos que agregarle un color de fondo o una imagen si queremos para ver el efecto opaco&#8230; con mas claridad (chiste)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span></pre></td></tr></table></div>

<p>Listo pero que pasa!!! todo el <strong>div</strong> incluso todo lo que hay dentro de el se puso <strong>opaco</strong>&#8230; y pocos queremos eso la verda&#8230; asi que aqui viene&#8230; mas que un <strong>fix</strong>&#8230; una <strong>solucion</strong> diferente pero la correcta.</p>
<h2>Fix para no &#8220;Heredar opacidad CSS&#8221;</h2>
<p>crearemos un div con <strong>posicion relativa</strong> y dentro de este crearemos un div con nuestro contenido (que no queremos que <strong>herede opacidad</strong>) en <strong>posicion</strong> <strong>absoluta</strong> y luego el div que tendra el color de fondo y la opacidad que estara debajo para dar este <strong>efecto</strong> correctamente.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;confix&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sin_opacidad&quot;</span>&gt;</span>esto sera nuestro contenido sin opacidad<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!--esto sera nuestro div con opacidad--&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contenido&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>Y con este <strong>CSS</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*Div CON FIX*/</span>
<span style="color: #6666ff;">.contenido</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.sin_opacidad</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FF0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.confix</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">350px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">10</span>%</span> <span style="color: #933;">50px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>float<span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
		<span style="color: #808080; font-style: italic;">/*Importante*/</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Importante para el FIX*/</span>
	<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*Div con opacidad Fix*/</span>
<span style="color: #6666ff;">.confix</span> <span style="color: #6666ff;">.contenido</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>padding<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #808080; font-style: italic;">/*Importante*/</span>
		<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
		-moz-opacity<span style="color: #00AA00;">:</span>.5<span style="color: #00AA00;">;</span>	<span style="color: #808080; font-style: italic;">/*Para Firefox, opera y similares*/</span>
		opacity<span style="color: #00AA00;">:</span>.5<span style="color: #00AA00;">;</span>	<span style="color: #808080; font-style: italic;">/*Para IE8*/</span>
		filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">50</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*Para el resto de IE*/</span>
	<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*Div posicion absoluta FIX*/</span>
.sin_opacidad<span style="color: #00AA00;">&#123;</span>
		<span style="color: #808080; font-style: italic;">/*Importante*/</span>
		<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
		<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Y listo opacidad + fix&#8230;<br />
NOTA:No es válido para W3C. <strong>-moz-opacit</strong>y y<strong> opacity</strong> hasta  CSS3 si.</p>
<p><a title="Click para ver demo opacidad + fix" href="http://www.zoneartcss.com/ejemplos/css/opacidad_css/opacity_css_fix.html" target="_blank">Ver el ejemplo en linea</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/opacidad-con-css-fix/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
