<?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>Bufa Webmaster &#187; CSS</title>
	<atom:link href="http://www.bufa.es/web/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bufa.es</link>
	<description>Recursos web en español</description>
	<lastBuildDate>Tue, 31 Jan 2012 23:47:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Prevenir el CACHE de nuestros CSS</title>
		<link>http://www.bufa.es/prevenir-cache-css/</link>
		<comments>http://www.bufa.es/prevenir-cache-css/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 12:19:34 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[cache]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1580</guid>
		<description><![CDATA[Un truco para prevenir el cache de los archivos CSS de nuestras páginas web montadas en php. Para evitar el problema de tener que REFRESCAR la página basta con introducirle un parámetro al archivo css, en este caso le pasamos ...]]></description>
			<content:encoded><![CDATA[<p>Un truco para prevenir el <strong>cache de los archivos CSS</strong> de nuestras páginas web montadas en <strong>php</strong>. Para evitar el problema de tener que REFRESCAR la página basta con introducirle un parámetro al archivo css, en este caso le pasamos la fecha y hora actuales con minutos y segundos para que el valor siempre sea diferente:</p>
<div class="codecolorer-container php railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;link type=&quot;text/css&quot; href=&quot;estilo.css?<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y-m-d H:i:s'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;stylesheet&quot; /&gt;</div></div>
<p>De esta forma cada vez que cargemos la página web el navegador será engañado al pensar que es un estilo nuevo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/prevenir-cache-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS: dibujar triángulos</title>
		<link>http://www.bufa.es/css-dibujar-triangulos/</link>
		<comments>http://www.bufa.es/css-dibujar-triangulos/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 13:01:00 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1561</guid>
		<description><![CDATA[Algunos ejemplos utilizando solo código css para crear formas con aspecto de triángulo: Triangulo CSS (pico superior) .triangulo_sup &#123; &#160; &#160; width: 0; &#160; &#160; height: 0; &#160; &#160; border-left: 50px solid transparent; &#160; &#160; border-right: 50px solid transparent; &#160; ...]]></description>
			<content:encoded><![CDATA[<p>Algunos ejemplos utilizando solo código <strong>css</strong> para crear formas con aspecto de triángulo:</p>
<p>Triangulo CSS (<strong>pico superior</strong>)</p>
<style>.triangulo_sup {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-bottom: 100px solid #000;
}</style>
<div class="triangulo_sup"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_sup</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico inferior</strong>)</p>
<style>.triangulo_inf {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top: 100px solid #000;
}</style>
<div class="triangulo_inf"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_inf</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico izquierda</strong>)</p>
<style>.triangulo_izq {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-top: 50px solid transparent;
	border-right: 100px solid #000;
	border-bottom: 50px solid transparent;
}</style>
<div class="triangulo_izq"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_izq</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico derecha</strong>)</p>
<style>.triangulo_der {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-top: 50px solid transparent;
	border-left: 100px solid #000;
	border-bottom: 50px solid transparent;
}</style>
<div class="triangulo_der"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_der</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico superior izquierdo</strong>)</p>
<style>.triangulo_top_left {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-top: 100px solid #000; 
	border-right: 100px solid transparent;			
}</style>
<div class="triangulo_top_left"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_top_left</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico superior derecho</strong>)</p>
<style>.triangulo_top_right {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-top: 100px solid #000; 
	border-left: 100px solid transparent;			
}</style>
<div class="triangulo_top_right"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_top_right</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico inferior izquierdo</strong>)</p>
<style>.triangulo_bottom_left {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-bottom: 100px solid #000; 
	border-right: 100px solid transparent;				
}</style>
<div class="triangulo_bottom_left"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_bottom_left</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Triangulo CSS (<strong>pico inferior derecho</strong>)</p>
<style>.triangulo_bottom_right {
        margin:0 auto 20px auto;
	width: 0;
	height: 0;
	border-bottom: 100px solid #000; 
	border-left: 100px solid transparent;					
}</style>
<div class="triangulo_bottom_right"></div>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.triangulo_bottom_right</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #00AA00;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/css-dibujar-triangulos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Transparencia (opacity) en todos los navegadores</title>
		<link>http://www.bufa.es/css-transparencia-navegadores/</link>
		<comments>http://www.bufa.es/css-transparencia-navegadores/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 19:12:44 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[opacity]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1412</guid>
		<description><![CDATA[Ejemplo de como utilizar la propiedad &#8220;opacity&#8221; de css para que funcione en la mayoría de navegadores (Internet explorer, Firefox, Chrome, Safari, Opera). Ejemplo de transparencia del 50% de opacidad: .transparencia &#123; &#160; &#160; zoom: 1; &#160; &#160; /* IE ...]]></description>
			<content:encoded><![CDATA[<p>Ejemplo de como utilizar la propiedad &#8220;<strong>opacity</strong>&#8221; de css para que funcione en la mayoría de navegadores (Internet explorer, Firefox, Chrome, Safari, Opera).</p>
<p>Ejemplo de transparencia del 50% de opacidad:</p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.transparencia</span> <span style="color: #00AA00;">&#123;</span><br />
<br />
&nbsp; &nbsp; zoom<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* IE */</span><br />
&nbsp; &nbsp; 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><br />
<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* Firefox 0.9+, Safari 2.x+, Chrome, Opera 9+, IE 9+ */</span><br />
&nbsp; &nbsp; opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.5</span><span style="color: #00AA00;">;</span><br />
<br />
<span style="color: #00AA00;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/css-transparencia-navegadores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: tabla de valores en PX, EM, PTS, %</title>
		<link>http://www.bufa.es/css-tabla-px-em-pts/</link>
		<comments>http://www.bufa.es/css-tabla-px-em-pts/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 23:08:44 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[em]]></category>
		<category><![CDATA[pts]]></category>
		<category><![CDATA[px]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1343</guid>
		<description><![CDATA[Tabla de equivalencias entre las principales unidades de medida en CSS: puntos (pts), pixeles (px), em y porfectanjes, basadas en el tamaño por defecto de 16 pixeles del navegador. Pts Px Em Porcentaje 6pt 8px 0.5em 50% 7pt 9px 0.55em ...]]></description>
			<content:encoded><![CDATA[<p>Tabla de equivalencias entre las principales unidades de medida en CSS: puntos (pts), pixeles (px), em y porfectanjes, basadas en el tamaño por defecto de 16 pixeles del navegador.</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr>
<th width="25%">Pts</th>
<th width="25%">Px</th>
<th width="25%">Em</th>
<th width="25%">Porcentaje</th>
</tr>
</thead>
<tbody>
<tr>
<td width="25%">6pt</td>
<td width="25%">8px</td>
<td width="25%">0.5em</td>
<td width="25%">50%</td>
</tr>
<tr>
<td width="25%">7pt</td>
<td width="25%">9px</td>
<td width="25%">0.55em</td>
<td width="25%">55%</td>
</tr>
<tr>
<td width="25%">7.5pt</td>
<td width="25%">10px</td>
<td width="25%">0.625em</td>
<td width="25%">62.5%</td>
</tr>
<tr>
<td width="25%">8pt</td>
<td width="25%">11px</td>
<td width="25%">0.7em</td>
<td width="25%">70%</td>
</tr>
<tr>
<td width="25%">9pt</td>
<td width="25%">12px</td>
<td width="25%">0.75em</td>
<td width="25%">75%</td>
</tr>
<tr>
<td width="25%">10pt</td>
<td width="25%">13px</td>
<td width="25%">0.8em</td>
<td width="25%">80%</td>
</tr>
<tr>
<td width="25%">10.5pt</td>
<td width="25%">14px</td>
<td width="25%">0.875em</td>
<td width="25%">87.5%</td>
</tr>
<tr>
<td width="25%">11pt</td>
<td width="25%">15px</td>
<td width="25%">0.95em</td>
<td width="25%">95%</td>
</tr>
<tr>
<td width="25%"><strong>12pt</strong></td>
<td width="25%"><strong>16px</strong></td>
<td width="25%"><strong>1em</strong></td>
<td width="25%"><strong>100%</strong></td>
</tr>
<tr>
<td width="25%">13pt</td>
<td width="25%">17px</td>
<td width="25%">1.05em</td>
<td width="25%">105%</td>
</tr>
<tr>
<td width="25%">13.5pt</td>
<td width="25%">18px</td>
<td width="25%">1.125em</td>
<td width="25%">112.5%</td>
</tr>
<tr>
<td width="25%">14pt</td>
<td width="25%">19px</td>
<td width="25%">1.2em</td>
<td width="25%">120%</td>
</tr>
<tr>
<td width="25%">14.5pt</td>
<td width="25%">20px</td>
<td width="25%">1.25em</td>
<td width="25%">125%</td>
</tr>
<tr>
<td width="25%">15pt</td>
<td width="25%">21px</td>
<td width="25%">1.3em</td>
<td width="25%">130%</td>
</tr>
<tr>
<td width="25%">16pt</td>
<td width="25%">22px</td>
<td width="25%">1.4em</td>
<td width="25%">140%</td>
</tr>
<tr>
<td width="25%">17pt</td>
<td width="25%">23px</td>
<td width="25%">1.45em</td>
<td width="25%">145%</td>
</tr>
<tr>
<td width="25%">18pt</td>
<td width="25%">24px</td>
<td width="25%">1.5em</td>
<td width="25%">150%</td>
</tr>
<tr>
<td width="25%">20pt</td>
<td width="25%">26px</td>
<td width="25%">1.6em</td>
<td width="25%">160%</td>
</tr>
<tr>
<td width="25%">22pt</td>
<td width="25%">29px</td>
<td width="25%">1.8em</td>
<td width="25%">180%</td>
</tr>
<tr>
<td width="25%">24pt</td>
<td width="25%">32px</td>
<td width="25%">2em</td>
<td width="25%">200%</td>
</tr>
<tr>
<td width="25%">26pt</td>
<td width="25%">35px</td>
<td width="25%">2.2em</td>
<td width="25%">220%</td>
</tr>
<tr>
<td width="25%">27pt</td>
<td width="25%">36px</td>
<td width="25%">2.25em</td>
<td width="25%">225%</td>
</tr>
<tr>
<td width="25%">28pt</td>
<td width="25%">37px</td>
<td width="25%">2.3em</td>
<td width="25%">230%</td>
</tr>
<tr>
<td width="25%">29pt</td>
<td width="25%">38px</td>
<td width="25%">2.35em</td>
<td width="25%">235%</td>
</tr>
<tr>
<td width="25%">30pt</td>
<td width="25%">40px</td>
<td width="25%">2.45em</td>
<td width="25%">245%</td>
</tr>
<tr>
<td width="25%">32pt</td>
<td width="25%">42px</td>
<td width="25%">2.55em</td>
<td width="25%">255%</td>
</tr>
<tr>
<td width="25%">34pt</td>
<td width="25%">45px</td>
<td width="25%">2.75em</td>
<td width="25%">275%</td>
</tr>
<tr>
<td width="25%">36pt</td>
<td width="25%">48px</td>
<td width="25%">3em</td>
<td width="25%">300%</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/css-tabla-px-em-pts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 sombra interior</title>
		<link>http://www.bufa.es/css3-sombra-interior/</link>
		<comments>http://www.bufa.es/css3-sombra-interior/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 22:33:07 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[sombra]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1213</guid>
		<description><![CDATA[Alguna vez te has preguntado ¿cómo hacer una sombra interior utilizando solo CSS3? es bastante sencillo en realidad! Utilizaremos la propiedad &#8220;box-shadow&#8220;. Vamos a aprovechar para crear un menu redondeado con una sombra interior en la parte superior. 1º el ...]]></description>
			<content:encoded><![CDATA[<p>Alguna vez te has preguntado ¿cómo hacer una sombra interior utilizando solo CSS3? es bastante sencillo en realidad!</p>
<p>Utilizaremos la propiedad &#8220;<strong>box-shadow</strong>&#8220;.</p>
<p>Vamos a aprovechar para crear un menu redondeado con una <strong>sombra interior</strong> en la parte superior.</p>
<p>1º el css:</p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.sombra<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; -moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">4px</span> <span style="color: #933;">6px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; -webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">4px</span> <span style="color: #933;">6px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">4px</span> <span style="color: #933;">6px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
.redondea<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; -webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
.menu<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.menu</span> li<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <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><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.menu</span> li a<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#bbb</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>2º el html de la lista del menu:</p>
<div class="codecolorer-container html4strict railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;menu redondea sombra&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Inicio<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Empresa<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Fotos<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>Contacto<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<p><a href="http://www.bufa.es/demos/sombrainterior/" target="_blank" class="boton demo">DEMO</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/css3-sombra-interior/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>z-index en video de youtube</title>
		<link>http://www.bufa.es/z-index-en-video-de-youtube/</link>
		<comments>http://www.bufa.es/z-index-en-video-de-youtube/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 22:38:23 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[wmode]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1209</guid>
		<description><![CDATA[Si tenéis problemas con la posiciónde un video de youtube que aparece siempre por encima de cualquier otro elemento (menu, lightbox, etc&#8230;) de vuestra web, y con la propiedad z-index de css no conseguís solucionarlo podeis añadir la siguiente variable ...]]></description>
			<content:encoded><![CDATA[<p>Si tenéis problemas con la posiciónde un video de youtube que aparece siempre por encima de cualquier otro elemento (menu, lightbox, etc&#8230;) de vuestra web, y con la propiedad <strong>z-index</strong> de css no conseguís solucionarlo podeis añadir la siguiente variable de wmode de transparencia al iframe del video.</p>
<p>Ejemplo de como añadir al src del iframe de youtube la variable: <strong>?wmode=transparent</strong></p>
<div class="codecolorer-container html4strict railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;425&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;349&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.youtube.com/embed/LU8DDYz68kM?wmode=transparent&quot;</span> <span style="color: #000066;">frameborder</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> allowfullscreen&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">iframe</span></a>&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/z-index-en-video-de-youtube/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Centrar verticalmente con CSS</title>
		<link>http://www.bufa.es/centrar-verticalmente-css/</link>
		<comments>http://www.bufa.es/centrar-verticalmente-css/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 23:16:03 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[middle]]></category>
		<category><![CDATA[tablas]]></category>
		<category><![CDATA[table-cell]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1104</guid>
		<description><![CDATA[Hay varios métodos para centrar verticalmente un elemento en CSS. Un método es utilizando al elemento como si fuera una tabla, usando la propiedad display:table en el elemento contenedor, y display:table-cell y vertical-align:middle en el elemento que deseamos centrar verticalmente. ...]]></description>
			<content:encoded><![CDATA[<p>Hay varios métodos para <strong>centrar verticalmente</strong> un elemento en CSS. Un método es utilizando al elemento como si fuera una tabla, usando la propiedad display:<strong>table</strong> en el elemento contenedor, y display:<strong>table-cell</strong> y vertical-align:<strong>middle</strong> en el elemento que deseamos centrar verticalmente.</p>
<p>En este caso centraremos verticalmente un texto dentro un div con la clase &#8220;.caja&#8221;:</p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.caja</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>table<span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.caja</span> span<span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">table-cell</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">middle</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<div class="codecolorer-container html4strict railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;caja&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>Sin León no hubiera España, antes que en Castilla leyes<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/centrar-verticalmente-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacks CSS para IE, Safari, Opera, Firefox, Chrome</title>
		<link>http://www.bufa.es/hacks-css-ie-safari-opera-firefox-chrome/</link>
		<comments>http://www.bufa.es/hacks-css-ie-safari-opera-firefox-chrome/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 20:57:14 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[navegadores]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1094</guid>
		<description><![CDATA[Listado de hacks css para los diferentes tipos de navegadores y versiones. No suelo utilizar este tipo de hacks en las hojas de estilos, pero me parece interesante y a continuación teneis un listado de hacks css dividido entre selectores ...]]></description>
			<content:encoded><![CDATA[<p>Listado de <strong>hacks css</strong> para los diferentes tipos de navegadores y versiones.</p>
<p>No suelo utilizar este tipo de hacks en las hojas de estilos, pero me parece interesante y a continuación teneis un listado de hacks css dividido entre <em>selectores</em> y <em>atributos</em> proporcionado por <a href="http://paulirish.com">Paulirish</a> en su blog:</p>
<p><strong>Selectores</strong></p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">/* IE6 y superiores */</span><br />
<span style="color: #00AA00;">*</span> html <span style="color: #cc00cc;">#uno</span> &nbsp;<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE7 */</span><br />
<span style="color: #00AA00;">*</span><span style="color: #3333ff;">:first-child</span><span style="color: #00AA00;">+</span>html <span style="color: #cc00cc;">#dos</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span> <br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE7, FF, Safari, Opera &nbsp;*/</span><br />
html<span style="color: #00AA00;">&gt;</span>body <span style="color: #cc00cc;">#tres</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE8, FF, Safari, Opera (Everything but IE 6,7) */</span><br />
html<span style="color: #00AA00;">&gt;</span><span style="color: #808080; font-style: italic;">/**/</span>body <span style="color: #cc00cc;">#cuatro</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Opera 9.27 y superiores, Safari 2 */</span><br />
html<span style="color: #3333ff;">:first-child </span><span style="color: #cc00cc;">#cinco</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Safari 2-3 */</span><br />
html<span style="color: #00AA00;">&#91;</span>xmlns<span style="color: #00AA00;">*=</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">&#93;</span> body<span style="color: #3333ff;">:last-child </span><span style="color: #cc00cc;">#seis</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* safari 3+, chrome 1+, opera9+, ff 3.5+ */</span><br />
body<span style="color: #3333ff;">:nth-of-</span>type<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc00cc;">#siete</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* safari 3+, chrome 1+, opera9+, ff 3.5+ */</span><br />
body<span style="color: #3333ff;">:first-of-type </span><span style="color: #cc00cc;">#ocho</span> <span style="color: #00AA00;">&#123;</span> &nbsp;<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* saf3+, chrome1+ */</span><br />
<span style="color: #a1a100;">@media screen and (-webkit-min-device-pixel-ratio:0) {</span><br />
&nbsp;<span style="color: #cc00cc;">#diez</span> &nbsp;<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* iPhone / mobile webkit */</span><br />
<span style="color: #a1a100;">@media screen and (max-device-width: 480px) {</span><br />
&nbsp;<span style="color: #cc00cc;">#veintiseis</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Safari 2 - 3.1 */</span><br />
html<span style="color: #00AA00;">&#91;</span>xmlns<span style="color: #00AA00;">*=</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #3333ff;">:root </span><span style="color: #cc00cc;">#trece</span> &nbsp;<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Safari 2 - 3.1, Opera 9.25 */</span><br />
<span style="color: #00AA00;">*</span>|html<span style="color: #00AA00;">&#91;</span>xmlns<span style="color: #00AA00;">*=</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">&#93;</span> <span style="color: #cc00cc;">#catorce</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Everything but IE6-8 */</span><br />
<span style="color: #3333ff;">:root </span><span style="color: #00AA00;">*&gt;</span> <span style="color: #cc00cc;">#quince</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE7 */</span><br />
<span style="color: #00AA00;">*+</span>html <span style="color: #cc00cc;">#dieciocho</span> <span style="color: #00AA00;">&#123;</span> &nbsp;<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Firefox only. 1+ */</span><br />
<span style="color: #cc00cc;">#veinticuatro</span><span style="color: #00AA00;">,</span> &nbsp;x<span style="color: #3333ff;">:-moz-any-link &nbsp;</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Firefox 3.0+ */</span><br />
<span style="color: #cc00cc;">#veinticinco</span><span style="color: #00AA00;">,</span> &nbsp;x<span style="color: #3333ff;">:-moz-any-link</span><span style="color: #00AA00;">,</span> x<span style="color: #00AA00;">:</span><span style="color: #993333;">default</span> &nbsp;<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span> &nbsp;<span style="color: #00AA00;">&#125;</span></div></div>
<p><strong>Atributos</strong></p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">/* IE6 */</span><br />
<span style="color: #cc00cc;">#once</span> <span style="color: #00AA00;">&#123;</span> _color<span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE6, IE7 */</span><br />
<span style="color: #cc00cc;">#doce</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #00AA00;">*</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* or #color: blue */</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* Everything but IE6 */</span><br />
<span style="color: #cc00cc;">#diecisiete</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #808080; font-style: italic;">/**/</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE6, IE7, IE8 */</span><br />
<span style="color: #cc00cc;">#diecinueve</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span>\<span style="color: #cc66cc;">9</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE7, IE8 */</span><br />
<span style="color: #cc00cc;">#veinte</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #808080; font-style: italic;">/*\**/</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span>\<span style="color: #cc66cc;">9</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span><br />
&nbsp;<br />
<span style="color: #808080; font-style: italic;">/* IE6, IE7 -- acts as an !important */</span><br />
<span style="color: #cc00cc;">#veintesiete</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">blue</span> !ie<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/hacks-css-ie-safari-opera-firefox-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detectar ipad &amp; iphone con CSS3</title>
		<link>http://www.bufa.es/detectar-ipad-iphone-css3/</link>
		<comments>http://www.bufa.es/detectar-ipad-iphone-css3/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 20:21:04 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[device-width]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[media queries]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1086</guid>
		<description><![CDATA[Usando CSS3 Media Queries podemos detectar el navegador, y portanto cargar una determinada hoja de estilos para cada dispositivo. Para detectar el ancho utilizamos la propiedad device-width para controlar la altura junto con los prefijos min/max para controlar la altura ...]]></description>
			<content:encoded><![CDATA[<p>Usando <a href="http://www.w3.org/TR/css3-mediaqueries/" target="_blank">CSS3 Media Queries</a> podemos detectar el navegador, y portanto cargar una determinada hoja de estilos para cada dispositivo.</p>
<p>Para detectar el ancho utilizamos la propiedad <strong>device-width</strong> para controlar la altura junto con los prefijos <strong>min/max</strong> para controlar la altura mínima o máxima.</p>
<p>Un ejemplo para detectar iphone o ipad:</p>
<div class="codecolorer-container html4strict railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all and (max-device-width: 480px)&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;iphone.css&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all and (min-device-width: 1025px)&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ipad_horizontal.css&quot;</span>&gt;</span></div></div>
<p>Un ejemplo de detectar con CSS3 la orientación de la pantalla (vertical o horizontal) en el ipad y cargar un estilo u otro:</p>
<div class="codecolorer-container html4strict railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ipad_vertical.css&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ipad_horizontal.css&quot;</span>&gt;</span></div></div>
<p>Otras propiedades:</p>
<ul>
<li>height</li>
<li>device-width</li>
<li>device-height</li>
<li>orientation</li>
<li>aspect-ratio</li>
<li>device-aspect-ratio</li>
<li>color</li>
<li>color-index</li>
<li>monochrome</li>
<li>resolution</li>
<li>scan</li>
<li>grid</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/detectar-ipad-iphone-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Condicionales para Internet Explorer</title>
		<link>http://www.bufa.es/condicionales-internet-explorer/</link>
		<comments>http://www.bufa.es/condicionales-internet-explorer/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 19:48:52 +0000</pubDate>
		<dc:creator>Jorge Maiden</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://www.bufa.es/?p=1075</guid>
		<description><![CDATA[A veces es necesario el uso de condicionales de IE, especialmente si deseamos corregir errores de maquetación en las hojas de estilo para versiones desfasadas del Internet explorer. Un ejemplo de condicionales que debemos insertar dentro del de nuestra web ...]]></description>
			<content:encoded><![CDATA[<p>A veces es necesario el uso de condicionales de IE, especialmente si deseamos corregir errores de maquetación en las hojas de estilo para versiones desfasadas del Internet explorer.</p>
<p>Un ejemplo de condicionales que debemos insertar dentro del <head> de nuestra web para filtrar los estilos CSS de las diferentes versiones de IE6, IE7, IE8:</p>
<div class="codecolorer-container css railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;!--<span style="color: #00AA00;">&#91;</span>if IE <span style="color: #cc66cc;">6</span><span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;link type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;css/ie6.css&quot;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;!<span style="color: #00AA00;">&#91;</span>endif<span style="color: #00AA00;">&#93;</span>--<span style="color: #00AA00;">&gt;</span><br />
<br />
&lt;!--<span style="color: #00AA00;">&#91;</span>if IE <span style="color: #cc66cc;">7</span><span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;link type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;css/ie7.css&quot;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;!<span style="color: #00AA00;">&#91;</span>endif<span style="color: #00AA00;">&#93;</span>--<span style="color: #00AA00;">&gt;</span><br />
<br />
&lt;!--<span style="color: #00AA00;">&#91;</span>if IE <span style="color: #cc66cc;">8</span><span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;link type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;css/ie8.css&quot;</span><span style="color: #00AA00;">&gt;</span><br />
&lt;!<span style="color: #00AA00;">&#91;</span>endif<span style="color: #00AA00;">&#93;</span>--<span style="color: #00AA00;">&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bufa.es/condicionales-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

