<?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>Desde Mexicali Baja California Mexico, Soycachanilla.com &#187; css</title>
	<atom:link href="http://soycachanilla.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://soycachanilla.com</link>
	<description>Soy un Cachanilla informático que le gusta hablar, aprender e informarse sobre tecnologías, computadoras, Internet, software libre, linux, música, su alrededor, el mundo en el que vive y alguna que otra tontería interesante.</description>
	<lastBuildDate>Sun, 15 Apr 2012 07:50:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Eliminar bordes de iFrame en IE</title>
		<link>http://soycachanilla.com/2010/12/eliminar-bordes-de-iframe-en-ie.html</link>
		<comments>http://soycachanilla.com/2010/12/eliminar-bordes-de-iframe-en-ie.html#comments</comments>
		<pubDate>Sun, 05 Dec 2010 06:56:54 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño css ejemplos]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[Modificar CSS]]></category>
		<category><![CDATA[programacion css]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=3087</guid>
		<description><![CDATA[Cuando parece que todo marcha bien, Internet Explorer siempre esta ahí para avisarnos que nos falta un poco mas!. Hoy tuve necesidad de insertar un iframe en un sitio de una inmobiliaria de Calexico que estoy haciendo, el cual muestra resultados de la Tasa Actual de Hipoteca de Estados Unidos, pues es algo que me [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-3094" title="ie8fail imagen fail de explorer" src="http://soycachanilla.com/wp-content/uploads/2010/12/ie8fail.jpg" alt="ie8fail imagen fail de explorer" width="382" height="382" /><br />
Cuando parece que todo marcha bien, Internet Explorer siempre esta ahí para avisarnos que nos falta un poco mas!. Hoy tuve necesidad de insertar un iframe en un sitio de una inmobiliaria de Calexico que estoy haciendo, el cual muestra resultados de la <strong>Tasa Actual de Hipoteca de Estados Unidos</strong>, pues es algo que me pidieron que incluyera, como se trataba de un simple widget, copie el código que dan en la pagina que me paso el cliente, lo probé en varios navegadores y en todos se miro perfecto, pero en Internet Explorer, me mostró lo siguiente.</p>
<p><img class="aligncenter size-full wp-image-3088" title="eliminar borde de iframe" src="http://soycachanilla.com/wp-content/uploads/2010/12/eliminar-borde-de-iframe.jpg" alt="eliminar borde de iframe" width="332" height="200" /><span id="more-3087"></span>Como pueden observar, el cuadro muestra 4 bordes, 2 de ellos en 3D, lo que hace que se mire horrible!. Para solucionar este problema, en Firefox y Opera simplemente agregamos el atributo <strong>background-color:transparent</strong>; a los un iframe en nuestro archivo style.css (o como le llamen ustedes).</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">iframe<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</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: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Esto solo funciona en Opera, Firefox, Chrome y Safari, pero en internet explorer, no. Así que tenemos que agregar estas propiedades para que en IE se quiten esos bordes horribles.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;iframe src=&quot;URL&quot;  frameborder='0' marginwidth='0' marginheight ='0' border=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt;</pre></div></div>

<p>Ahora si, una ves agregadas las propiedades marginwidth, marginheight y frameborder, el resultado es el siguiente.<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/12/eliminar-sombras-de-iframe.jpg" alt="eliminar sombras de iframe" title="eliminar sombras de iframe" width="321" height="141" class="aligncenter size-full wp-image-3096" /></p>
<ul>
<li><strong>marginwidth</strong> = Son los margenes izquierdo y derecho del iframe.</li>
<li><strong>marginheight </strong>= Son los margenes del top y bottom del iframe, o sea, el de arriba y el de abajo.</li>
<li><strong>frameborder</strong> = Con este se activan o desactivan los bordes, 1 y 0 son sus valores.</li>
<li><strong>scrolling </strong>= Con este se activa el scroll del iframe, Yes para activar y No para desactivar.</li>
<li><strong>border</strong>= Determina el ancho del borde en pixeles.</li>
</ul>
<p>Y asi de facil, una ves mas le hemos pateado el trasero a<strong> Internet Explorer</strong> por sus reveldias :/.</p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2010/12/eliminar-bordes-de-iframe-en-ie.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>15 trucos CSS 3 en divs, texto e imágenes</title>
		<link>http://soycachanilla.com/2010/08/15-trucos-css3-en-divs-texto-e-imagenes.html</link>
		<comments>http://soycachanilla.com/2010/08/15-trucos-css3-en-divs-texto-e-imagenes.html#comments</comments>
		<pubDate>Tue, 03 Aug 2010 11:15:50 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño css ejemplos]]></category>
		<category><![CDATA[Modificar CSS]]></category>
		<category><![CDATA[programacion css]]></category>
		<category><![CDATA[trucos css]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=2851</guid>
		<description><![CDATA[Para todos aquellos a los que les guste el diseño web o tienen ganas de aprender, hoy les dejo algunos trucos de CSS3 que he aprendido gracias a muchos sitios que leo por Internet. 1.- Crear Div con esquinas redondeadas con CSS3: 1 2 3 4 5 6 7 8 9 10 11 12 13 [...]]]></description>
			<content:encoded><![CDATA[<p>Para todos aquellos a los que les guste el diseño web o tienen ganas de aprender, hoy les dejo algunos trucos de CSS3 que he aprendido gracias a muchos sitios que leo por Internet. </p>
<p><strong>1.- Crear Div con esquinas redondeadas con CSS3</strong>:<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/redondear-esquinas-con-css3.jpg" alt="redondear esquinas con css3" title="redondear esquinas con css3" width="318" height="140" class="aligncenter size-full wp-image-2852" /></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
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>background<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#D9E7F0</span><span style="color: #00AA00;">;</span>padding-<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#B1CDE0</span><span style="color: #00AA00;">;</span>
-moz-border-radius-topleft<span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Valores de 0 a 75 */</span>
-moz-border-radius-topright<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
-moz-border-radius-bottomleft<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
-moz-border-radius-bottomright<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
-webkit-border-top-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
-webkit-border-top-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
-webkit-border-bottom-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
-webkit-border-bottom-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
border-top-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
border-top-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
border-bottom-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
border-bottom-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span></pre></td></tr></table></div>

<p><strong>2.- Div con gradientes CSS3, lineal y circular</strong>.<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/gradiente-con-css3.jpg" alt="gradiente con css3" title="gradiente con css3" width="310" height="103" class="aligncenter size-full wp-image-2855" /><br />
<strong>Gradiente lineal con CSS3</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-moz-linear-</span>gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;">73%</span> <span style="color: #933;">11%</span> 177deg<span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#1128AA</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#004EFF</span> <span style="color: #933;">64%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>  <span style="color: #808080; font-style: italic;">/* firefox */</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-webkit-</span>gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;">80%</span> <span style="color: #933;">20%</span><span style="color: #00AA00;">,</span> <span style="color: #933;">33%</span> <span style="color: #933;">14%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#3924D1</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#4166FF</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span> <span style="color: #808080; font-style: italic;">/* chrome */</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Gradiente circular con CSS3</strong><br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/gradiente-circular-con-css3.jpg" alt="crear gradiente circular con css3" title="crear gradiente circular con css3" width="310" height="100" class="aligncenter size-full wp-image-2858" /></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-moz-radial-</span>gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;">51%</span> <span style="color: #933;">13%</span> 314deg<span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#0000FF</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#000043</span> <span style="color: #933;">71%</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-webkit-</span>gradient<span style="color: #00AA00;">&#40;</span>radial<span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">165</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;">220</span> -<span style="color: #cc66cc;">257</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">465</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#0364CF</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Explicación detallada de <a rel="nofollow" href="https://developer.mozilla.org/en/CSS/-moz-radial-gradient">moz-radial-gradient y linear</a>.<br />
Explicación detallada de <a rel="nofollow" href="http://webkit.org/blog/175/introducing-css-gradients/">webkit-gradient</a>.<br />
<strong>3.- Transparencias con CSS3</strong> (en este caso se aplica a un DIV)<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/div-transparente-con-css3.jpg" alt="div transparente con css3" title="div transparente con css3" width="309" height="98" class="aligncenter size-full wp-image-2860" /></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.4</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* los valores van desde 0.1 hasta 1.0 */</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>4.- Rotar objetos con css3</strong><br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/girar-un-objeto-con-css.jpg" alt="girar un objeto con css" title="girar un objeto con css" width="312" height="102" class="aligncenter size-full wp-image-2862" /></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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>180deg<span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* los valores van desde el 0 al 360 */</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>180deg<span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>180deg<span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><span id="more-2851"></span><br />
<strong>5.- Cambiar la escala de un Div con css3</strong> (ideal para utilizar con un hover para hacer zoom)<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/cambiar-escala-de-un-objeto.jpg" alt="cambiar escala de un objeto" title="cambiar escala de un objeto" width="150" height="61" class="aligncenter size-full wp-image-2864" /></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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
-webkit-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">0.613</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* El primer valor es en escala de X y el segundo de Y */</span>
-moz-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">0.613</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>  
-o-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">0.613</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>6.-Cambiar perspectiva de un objeto con CSS3</strong><br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/como-modificar-la-perspectiva-de-un-objeto-con-css3.jpg" alt="como modificar la perspectiva de un objeto con css3" title="como modificar la perspectiva de un objeto con css3" width="397" height="189" class="aligncenter size-full wp-image-2867" /></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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
-webkit-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -164deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* El primer valor es para X y el segundo de Y los valores son de -180 al 180*/</span>
-moz-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -164deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -164deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>7.- Mover o trasladar objetos con CSS3.</strong> (esta no se va notar gráficamente así que simplemente pondré el código). Con esto podrás mover un objeto 300px a la derecha o izquierda o 300px arriba o abajo a partir del lugar en donde se encuentra.</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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
-webkit-transform<span style="color: #00AA00;">:</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">2px</span><span style="color: #00AA00;">,</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Primer valor de X y el segundo de Y, ambos tienen valor desde -300 a 300px*/</span>
-moz-transform<span style="color: #00AA00;">:</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">2px</span><span style="color: #00AA00;">,</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">2px</span><span style="color: #00AA00;">,</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Si eres uno a los que no les gusta tener mucho código, puedes hacer una combinación de los 4 anteriores(7,6,5 y 4) de la siguiente forma.</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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</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>
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>28deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">&#41;</span> skew<span style="color: #00AA00;">&#40;</span>-57deg<span style="color: #00AA00;">&#41;</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">17px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>28deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">&#41;</span> skew<span style="color: #00AA00;">&#40;</span>-57deg<span style="color: #00AA00;">&#41;</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">17px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>28deg<span style="color: #00AA00;">&#41;</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0.478</span><span style="color: #00AA00;">&#41;</span> skew<span style="color: #00AA00;">&#40;</span>-57deg<span style="color: #00AA00;">&#41;</span> translate<span style="color: #00AA00;">&#40;</span><span style="color: #933;">17px</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>8.- Bordes degradados con css3</strong> (en este caso es solo para mozilla firefox).<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/bordes-degradados-con-css.jpg" alt="bordes degradados con css" title="bordes degradados con css" width="329" height="117" class="aligncenter size-full wp-image-2878" /></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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">9px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
-moz-border-bottom-colors<span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span> <span style="color: #cc00cc;">#444</span> <span style="color: #cc00cc;">#ccc</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
-moz-border-top-colors<span style="color: #00AA00;">:</span>    <span style="color: #cc00cc;">#333</span> <span style="color: #cc00cc;">#444</span> <span style="color: #cc00cc;">#ccc</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
-moz-border-left-colors<span style="color: #00AA00;">:</span>   <span style="color: #cc00cc;">#333</span> <span style="color: #cc00cc;">#039</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
-moz-border-right-colors<span style="color: #00AA00;">:</span>  <span style="color: #cc00cc;">#333</span> <span style="color: #cc00cc;">#039</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Mas información sobre <a rel="nofollow" href="https://developer.mozilla.org/en/CSS/-moz-border-top-colors">-moz-border-#-colors</a><br />
<strong>9.- Colocar sombra a un div con CSS3.</strong><br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/sombra-a-un-div-con-css-3.jpg" alt="sombra a un div con css 3" title="sombra a un div con css 3" width="321" height="110" class="aligncenter size-full wp-image-2880" /></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="css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>10.- Posibilidad de incrementar el tamaño de un Div</strong>( Hasta ahora solo funciona en Chrome y Safari).<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/incrementar-el-tamano-de-un-div.jpg" alt="incrementar el tamano de un div" title="incrementar el tamano de un div" width="373" height="153" class="aligncenter size-full wp-image-2884" /></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
resize<span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*Activa resize para agrandar o disminuir el tamaño de un div*/</span>
<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Activa el scroll*/</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Para colocar un limite en el incremento o decremento del tamaño se puede utilizar max-width, min-width, max-height y min-height, de esta forma un div crecerá o reducirá hasta donde especifiquemos.<br />
Lo anterior también se puede aplicar en campos input y textareas.</p>
<p><strong>11.- Texto con sombra en CSS3</strong></p>
<p style="text-shadow:0px 1px 1px #000000;"> SoyCachanilla.com</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;">p<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #933;">1px</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Primer valor indica la posición de la sombra en X y el segundo en Y, el tercer valor es el efecto blur de la sombra y por ultimo es el color de la sombra*/</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>12.- Rotar texto con CSS 3</strong><br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/girar-texto-con-css-3.jpg" alt="girar texto con css 3" title="girar texto con css 3" width="312" height="164" class="aligncenter size-full wp-image-2882" /></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">p<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5em</span><span style="color: #00AA00;">;</span>line-<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3em</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* los valores van del 0 al 360 */</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
writing-mode<span style="color: #00AA00;">:</span> bt-lr<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>13.- Crear imagen transparente con CSS3 estilo rollover.</strong><br />
En el CSS utilizamos opacity combinado con a:hover, en mi caso yo lo probé con firefox e IE y funciono perfecto, en safari y chrome no, cada que pasemos el mouse por encima de la imagen se hará semi transparente.<br />
<img src="http://soycachanilla.com/wp-content/uploads/2010/08/imagen-transparente-con-css.jpg" alt="imagen transparente con css" title="imagen transparente con css" width="173" height="72" class="aligncenter size-full wp-image-2887" /></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;">img<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:link </span>img<span style="color: #00AA00;">&#123;</span>opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0.4</span><span style="color: #00AA00;">;</span>filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">100</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>  -moz-opacity<span style="color: #00AA00;">:</span> .75<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/* El primero es CSS3, el segundo filter:alpha es solo para IE y el ultimo -moz es solo para firefox*/</span>
a<span style="color: #3333ff;">:hover </span>img<span style="color: #00AA00;">&#123;</span>opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0.4</span><span style="color: #00AA00;">;</span>filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">20</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>-moz-opacity<span style="color: #00AA00;">:</span> .30<span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>HTML</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;">&lt;a href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;http://twitter.com/danielmd&quot;</span><span style="color: #00AA00;">&gt;</span>&lt;img src<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;http://i27.tinypic.com/r6y0kx.jpg&quot;</span> alt<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;Imagen transparente con CSS3&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;/a<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p><strong>14.-Efecto mascara en imágenes con CSS 3</strong> y gradientes (solo funciona en safari)</p>
<p><img src="http://soycachanilla.com/wp-content/uploads/2010/08/efecto-mask-con-css3-html.jpg" alt="efecto mask con css3 html" title="efecto mask con css3 html" width="407" height="221" class="aligncenter size-full wp-image-2890" /><br />
<strong>CSS</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;">img<span style="color: #00AA00;">&#123;</span>-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> -webkit-mask-image<span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</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><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</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><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</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>HTML</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;"> &lt;img src=&quot;http://i29.tinypic.com/2zi81uo.jpg&quot; alt=&quot;Imagen transparente con CSS3&quot; /&gt;</pre></td></tr></table></div>

<p><a href="http://webkit.org/blog/181/css-masks/">Mas efectos mask webkit</a></p>
<p>15.- <strong>Efecto hover a un Div.</strong><br />
Ya para terminar les dejo el siguiente código combinando algunos de los trucos de anteriores, se trata de un div que al pasar el mouse por arriba de el cambia su apariencia, su tamaño y su posición.</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
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;!DOCTYPE html<span style="color: #00AA00;">&gt;</span>
&lt;html<span style="color: #00AA00;">&gt;</span>
&lt;head<span style="color: #00AA00;">&gt;</span> 
&lt;title<span style="color: #00AA00;">&gt;</span> Efecto Hover en un div&lt;/title<span style="color: #00AA00;">&gt;</span>
&lt;style type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #00AA00;">&gt;</span>
&lt;!--
body<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> verdana<span style="color: #00AA00;">,</span><span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contenido</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: #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: #933;">70px</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: #00AA00;">&#125;</span>
.ejemplo<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">7px</span> <span style="color: #933;">8px</span> <span style="color: #933;">2px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.ejemplo</span><span style="color: #3333ff;">:hover</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;">340px</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>color<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</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>
<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>
-webkit-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -33deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -33deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-o-transform<span style="color: #00AA00;">:</span> skew<span style="color: #00AA00;">&#40;</span>36deg<span style="color: #00AA00;">,</span> -33deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-border-radius-topleft<span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span> 
-moz-border-radius-topright<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
-webkit-border-top-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
-webkit-border-top-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
border-top-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
border-top-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.ejemplo</span> p<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5em</span><span style="color: #00AA00;">;</span>line-<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3em</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
--<span style="color: #00AA00;">&gt;</span>
&lt;/style<span style="color: #00AA00;">&gt;</span>
&lt;/head<span style="color: #00AA00;">&gt;</span>
&lt;body<span style="color: #00AA00;">&gt;</span>
&lt;div id<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;contenido&quot;</span><span style="color: #00AA00;">&gt;</span>
&lt;div class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;ejemplo&quot;</span><span style="color: #00AA00;">&gt;</span>
&lt;p<span style="color: #00AA00;">&gt;</span>SoyCachanilla.com&lt;/p<span style="color: #00AA00;">&gt;</span>
&lt;/div<span style="color: #00AA00;">&gt;</span>
&lt;/div<span style="color: #00AA00;">&gt;</span>
&lt;/body<span style="color: #00AA00;">&gt;</span>
&lt;/html<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p>Y todavía hay muchos mas como el uso de animaciones sin javascript o flash, pero la verdad yo no los se utilizar muy bien.</p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2010/08/15-trucos-css3-en-divs-texto-e-imagenes.html/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Mario Bros 8 bits con CSS</title>
		<link>http://soycachanilla.com/2010/07/mario-bros-8-bits-con-css.html</link>
		<comments>http://soycachanilla.com/2010/07/mario-bros-8-bits-con-css.html#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:59:39 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dibujos con css]]></category>
		<category><![CDATA[diseño css ejemplos]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[Mario Bros]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=2806</guid>
		<description><![CDATA[No se si se acuerden, pero hace unos 2 meses hice un dibujo solo con HTML y CSS3 de un personaje que invente llamado &#8220;Sir culito&#8221;, si no se acuerdan pueden dar click en el nombre que deje arriba para que lo vean. Bueno, para practicar un poco sobre algunos atributos de los DIV como [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Mario bros 8 bis CSS" href="http://soycachanilla.com/ejemplos/mario.html"><img class="aligncenter size-full wp-image-2807" title="mario bros en 8 bits" src="http://soycachanilla.com/wp-content/uploads/2010/07/mario-bros-en-8-bits.jpg" alt="mario bros en 8 bits" width="494" height="250" /></a>No se si se acuerden, pero hace unos 2 meses hice un dibujo solo con HTML y CSS3 de un personaje que invente llamado <a href="http://soycachanilla.com/2010/05/sir-culito-una-pequena-ilustracion-hecha-con-css3.html">&#8220;Sir culito&#8221;</a>, si no se acuerdan pueden dar click en el nombre que deje arriba para que lo vean.</p>
<p>Bueno, para practicar un poco sobre algunos atributos de los DIV como los <strong>margin</strong> y los<strong> position</strong>, que a veces me hacen batallar en IE, decidí hacer otro dibujo, esta vez es un personaje muy conocido y que seguramente la mayoría conoce, <strong>Mario Bros</strong>, esta muy sencillo pero me gusto el resultado.</p>
<p>Esta vez el dibujo es muy cuadrado, así que se mirara bien en todos los navegadores, el único problema es que solo se mira idénticamente a la imagen que puse arriba en IE8,IE9, Firefox, Chrome y Opera, ya no probé mas porque son los únicos que tengo. En IE7,6,5 el Mario se mira como si estuviera metiéndose al tubo <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h4 style="text-align: center;"><a href="http://soycachanilla.com/ejemplos/mario.html"><strong>Mario Bros 8 Bits CSS</strong></a></h4>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2010/07/mario-bros-8-bits-con-css.html/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3 formas de convertir los comentarios de mayúsculas a minúsculas en wordpress</title>
		<link>http://soycachanilla.com/2009/11/3-formas-de-convertir-los-comentarios-de-mayusculas-a-minusculas-en-wordpress.html</link>
		<comments>http://soycachanilla.com/2009/11/3-formas-de-convertir-los-comentarios-de-mayusculas-a-minusculas-en-wordpress.html#comments</comments>
		<pubDate>Sat, 28 Nov 2009 09:57:21 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[Agregar CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[Modificar CSS]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=2063</guid>
		<description><![CDATA[Se dice en Internet que escribir con mayúsculas significa, GRITAR!!!!..  tal vez sea así o tal vez no, pero personalmente para mi esto es molesto, ¿por que? por que se me dificulta leer varios párrafos de un escrito que esta en puras mayúsculas, Y no!, no estoy ciego, ni ocupo lentes, solo que me pierdo [...]]]></description>
			<content:encoded><![CDATA[<p>Se dice en Internet que escribir con mayúsculas significa, GRITAR!!!!..  tal vez sea así o tal vez no, pero personalmente para mi esto es molesto, ¿por que? por que se me dificulta leer varios párrafos de un escrito que esta en puras mayúsculas, Y no!, no estoy ciego, ni ocupo lentes, solo que me pierdo al estar leyendo así.</p>
<p>Y bueno, si estas igual que yo y estas buscando una solución para eliminar este tipo de comentarios en wordpress(sin borrarlos o editarlos manualmente).<br />
<strong>Por ejemplo:</strong><br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/11/cambiarmayusculasaminusculas.PNG"><img class="aligncenter size-full wp-image-2065" title="cambiarmayusculasaminusculas" src="http://soycachanilla.com/wp-content/uploads/2009/11/cambiarmayusculasaminusculas.PNG" alt="cambiarmayusculasaminusculas" width="342" height="288" /></a></p>
<p>Te recomiendo alguna de estas<strong> 3 soluciones </strong>que seguramente te ayudarán a evitar comentarios de ese tipo en tu blog.</p>
<h3 style="text-align: center;"><strong>Mata Mayúsculas</strong></h3>
<p>La primera es utilizar un pluging para wordpress llamado &#8220;<strong>Mata Mayúsculas</strong>&#8221; este me lo tope gracias a este post <a href="http://forobeta.com/plugins/6030-evita-dolores-de-cabeza-culpa-de-hoygans-mata-mayusculas.html">(Link)</a> de <strong>Cristhian</strong>. Se trata de un <strong>plugin de wordpress</strong> que mediante programación PHP hace un reemplazo de cada comentario original y lo transforma a minúsculas.<br />
<span id="more-2063"></span><br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/11/matamayusculas.PNG"><img class="aligncenter size-full wp-image-2066" title="matamayusculas" src="http://soycachanilla.com/wp-content/uploads/2009/11/matamayusculas.PNG" alt="matamayusculas" width="505" height="258" /></a><br />
Para utilizarlo solo debes subirlo a la carpeta de tus plugins mediante FTP o desde el mismo manejador de <strong>plugins de wordpress</strong> y activarlo para que empiece a funcionar.</p>
<p class="informacion">
<strong>Utilizarlo solo si:</strong>  no sabes nada de programación, edición de themes de wordpress o si no recibes muchos comentarios en tu blog.
</p>
<p class="warning">
<strong>Desventajas: </strong>Este plugin transforma uno por uno los comentarios, lo que significa que hace varios llamados a tu servidor para transformarlos, por lo que gasta muchos recursos cuando tienes muchísimos comentarios.
</p>
<p class="descargar">
<strong>Descargar: <a href="http://wordpress.org/extend/plugins/mata-mayusculas/">Mata Mayúsculas</a></strong>
</p>
<h3 style="text-align: center;"><strong>Utilizando el método toLowerCase de JavaScript</strong></h3>
<p>La segunda opción es utilizar javascript y uno de sus métodos llamado <strong>toLowerCase</strong>, este método <strong>transforma un texto que contenga mayúsculas a minúsculas</strong>.</p>
<p>Para usarlo debemos copiar este código dentro de las etiquetas <strong>< head > y < /head ></strong> de nuestro archivo<strong> header.php</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>SCRIPT LANGUAGE<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> convierte_minusculas<span style="color: #009900;">&#40;</span>field<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    field.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> field.<span style="color: #660066;">value</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>SCRIPT<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Ahora abrimos nuestro archivo <strong>comments.php </strong>y agregamos el método para transformar a nuestro textarea.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #339933;">&lt;</span>textarea name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;comment&quot;</span> cols<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> rows<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;5&quot;</span> tabindex<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;4&quot;</span> onChange<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;convierte_minusculas(this)&quot;</span> <span style="color: #339933;">&gt;</span>Comenta<span style="color: #339933;">&lt;/</span>textarea<span style="color: #339933;">&gt;</span></pre></div></div>

<p class="informacion">
Es rápido ya que la transformación se lleva a cabo al momento de enviar el mensaje y se guarda en la base de datos ya transformado en minúsculas.
</p>
<p class="warning">
<strong>Desventajas: </strong>Si el usuario tiene javascript desactivado no sirve esta opción porque no se ejecuta la transformación.
</p>
<p class="descargar">
Esta fue mi fuente, yo la implemente para wordpress y utilice el método contrario nomas. <a href="http://www.java2s.com/Code/JavaScript/Form-Control/ResettingaTextObjecttoDefaultValue.htm">Resetting a Text Object to Default Value</a>
</p>
<h3 style="text-align: center;"><strong>Utilizando CSS</strong></h3>
<p>Esta tercera opción es la mejor para mi y es la que he implementado en algunos de mis sitios. Se trata de una propiedad de algunos elementos HTML llamada <strong>text-transform.</strong><br />
Para utilizarla debemos identificar cual es el ID o CLASE de los comentarios en nuestro blog, por ejemplo en soycachanilla es<br />
<strong>ol.commentlist li p</strong> la que se encarga de darle formato a los párrafos, abrimos nuestro archivo styles.css y agregamos &#8220;<strong>text-transform: lowercase;</strong>&#8221; que se encargara de transformar las mayúsculas en minúsculas de los comentarios.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">ol<span style="color: #6666ff;">.commentlist</span> li p
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">lowercase</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> helvetica<span style="color: #00AA00;">,</span>arial<span style="color: #00AA00;">,</span><span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p class="informacion">
Personalmente es la opción mas apropiada para hacer esta transformación. No consume recursos y la transformación se hace desde el navegador, no importa que el usuario escriba puras mayúsculas. <strong>CSS RULES!</strong>
</p>
<p class="warning">
<strong>Desventajas: </strong>Si no sabes editar tu theme batallaras un poco, pero no desesperes, es la mejor <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p class="descargar">
Aquí pueden ver otros valores que tiene esta propiedad<a href="http://www.w3schools.com/Css/pr_text_text-transform.asp">CSS text-transform Property</a>, también se puede utilizar <strong>capitalize</strong> para que las mayúsculas iniciales de cada palabra queden en mayúscula y no se transformen.
</p>
<p>Cualquier error u otra forma de hacerlo, me dicen <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/11/3-formas-de-convertir-los-comentarios-de-mayusculas-a-minusculas-en-wordpress.html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to: Crear listas anidadas de colores con CSS</title>
		<link>http://soycachanilla.com/2009/11/how-to-crear-listas-anidadas-de-colores-con-css.html</link>
		<comments>http://soycachanilla.com/2009/11/how-to-crear-listas-anidadas-de-colores-con-css.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 09:11:54 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Agregar CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[Modificar CSS]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=1963</guid>
		<description><![CDATA[No se si el titulo que le puse a esta entrada sea el indicado, pero tiene que ver con listas de  html y css, la idea es crear listas dentro de otra lista con distintos colores y formato, el resultado debe ser algo como la imagen de abajo, donde cada rectángulo representa un área que [...]]]></description>
			<content:encoded><![CDATA[<p>No se si el titulo que le puse a esta entrada sea el indicado, pero tiene que ver con listas de  html y css, la idea es crear <strong>listas dentro de otra lista con distintos colores y formato</strong>, el resultado debe ser algo como la imagen de abajo, donde cada rectángulo representa un área que se puede modificar a nuestro gusto, sin afectar a los demás.</p>
<p><a href="http://soycachanilla.com/wp-content/uploads/2009/11/css-logo-imagen.PNG"><img class="aligncenter size-full wp-image-1964" title="Creando listas enlazadas de colores con css" src="http://soycachanilla.com/wp-content/uploads/2009/11/css-logo-imagen.PNG" alt="Creando listas enlazadas de colores con css" width="377" height="164" /></a></p>
<p>En este ejemplo utilizare listas &#8220;padre&#8221; <strong>&lt;ul&gt; &lt;/ul&gt;</strong> que pueden tener &#8220;hijos&#8221; <strong>&lt;li&gt;&lt;/li&gt; </strong>y estos hijos a su ves pueden tener otro padre y ese padre puede tener mas hijos <strong>&lt;li&gt;</strong> y así consecutivamente, por eso se llaman listas anidadas.  El uso que se le puede dar a esto es en los menús, estos menús pueden tener subcategorías y esas subcategorías pueden tener mas subcategorías.</p>
<p><strong>Ejemplo:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul class=&quot;ul&quot;&gt;
    &lt;li&gt; Home
         &lt;ul&gt;
          &lt;li&gt;Sub 1 Home &lt;/li&gt;
          &lt;li&gt;Sub 1 Home &lt;/li&gt;
         &lt;/ul&gt;
      &lt;/li&gt;
  &lt;li&gt; Themes&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<p><strong>Resultado:</strong></p>
<ul class="ul">
<li> Home
<ul>
<li>Sub 1 Home </li>
<li>Sub 1 Home </li>
</ul>
</li>
<li> Themes</li>
</ul>
<p>Como podrán observar la categoría Home tiene un submenú <strong>ul</strong> y de la misma forma se pueden ir agregando mas submenús.<br />
<span id="more-1963"></span><br />
Bien, ahora para darle formato CSS a estas listas debemos definir una clase que le de estilo al primer padre y a sus hijos (ul y li), el nombre de la lista es <strong>.ul</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ul</span> li <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: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#02A5C8</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FC9</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">365px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Y en el html asignamos la clase <strong>.ul</strong> a nuestra lista</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul class=&quot;ul&quot;&gt;
   &lt;li&gt;Home&lt;/li&gt;
   &lt;li&gt;Contact&lt;/li&gt;
   &lt;li&gt;About&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<p><strong>Resultado:</strong><br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/11/codigo-css-de-colores.PNG"><img src="http://soycachanilla.com/wp-content/uploads/2009/11/codigo-css-de-colores.PNG" alt="codigo-css-de-colores" title="codigo-css-de-colores" width="373" height="66" class="aligncenter size-full wp-image-1966" /></a><br />
Ahora, para darle color a los padres que estan dentro de los hijos del padre principal, debemos definirlo en nuestra hoja de estilos CSS de la siguiente forma y en orden.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ul</span> li <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: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#02A5C8</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FC9</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">365px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.ul</span> li ul li<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: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#eaeed2</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Si se dan cuenta <strong>.ul li </strong>el primer rectángulo y los siguientes<strong> ul li</strong> son el rectángulo verde.<br />
Código HTML</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul class=&quot;ul&quot;&gt;
   &lt;li&gt;Home&lt;/li&gt;
   &lt;li&gt;
    &lt;ul&gt;
    &lt;li&gt;Home 2&lt;/li&gt;
    &lt;li&gt;Contact 2&lt;/li&gt;
    &lt;li&gt;About 2&lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;About&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<p><strong>Resultado:</strong><br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/11/codigo-css-de-colores-2.PNG"><img src="http://soycachanilla.com/wp-content/uploads/2009/11/codigo-css-de-colores-2.PNG" alt="codigo-css-de-colores 2" title="codigo-css-de-colores 2" width="374" height="104" class="aligncenter size-full wp-image-1967" /></a><br />
Si queremos una tercer lista anidada se agregaría una nueva clase agregando otro ul li para indicarle a nuestro navegador que cuando encuentre 3 listas anidadas a la tercera le aplique este formato.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ul</span> li ul li ul li<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: #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: #cc00cc;">#BFE5FF</span><span style="color: #00AA00;">;</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: #00AA00;">&#125;</span></pre></div></div>

<p>Ya para terminar les dejo el ejemplo con cuatro niveles que da como resultado el rectángulo de colores que puse al inicio. Tan solo guardan el código en un archivo html y lo abren con su navegador para que vean el resultado.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;HTML&gt;
&lt;HEAD&gt;
 &lt;TITLE&gt;Listas de colores con CSS by danielmd soycachanilla.com&lt;/TITLE&gt;
&lt;style type=&quot;text/css&quot;&gt;
.ul li {
	list-style:none;
	color:#02A5C8;
    background:#FC9;
	width:365px;
}
.ul li ul li{
	list-style:none;
	color:#333;
	background:#eaeed2;
	width:280px;
}
.ul li ul li ul li{
	list-style:none;
	color:#fff;
	background:#BFE5FF;
	width:200px;
}
.ul li ul li ul li ul li{
	list-style:none;
	color:#333;
	background:#FFC0C0;
	width:120px;
}
&nbsp;
&lt;/style&gt;
&nbsp;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;ul class=&quot;ul&quot;&gt;
    &lt;li&gt; Home
         &lt;ul&gt;
          &lt;li&gt;Sub 1 Home &lt;/li&gt;
          &lt;li&gt;Sub 1 Home &lt;/li&gt;
            &lt;li&gt;
             &lt;ul&gt;
               &lt;li&gt;Sub 2 Home &lt;/li&gt;
               &lt;li&gt;Sub 2 Home &lt;/li&gt;
               &lt;li&gt;
                 &lt;ul&gt;
                   &lt;li&gt;Sub 3 Home &lt;/li&gt;
                   &lt;li&gt;Sub 3 Home &lt;/li&gt;
                 &lt;/ul&gt;
               &lt;/li&gt;
             &lt;/ul&gt;
            &lt;/li&gt;
         &lt;/ul&gt;
      &lt;/li&gt;
  &lt;li&gt; Themes&lt;/li&gt;
&lt;/ul&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre></div></div>

<p>El resultado de usar este ejemplo es el siguiente:<br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/11/css-logo-imagen.PNG"><img class="aligncenter size-full wp-image-1964" title="Creando listas enlazadas de colores con css" src="http://soycachanilla.com/wp-content/uploads/2009/11/css-logo-imagen.PNG" alt="Creando listas enlazadas de colores con css" width="377" height="164" /></a></p>
<p>Ahora si ustedes quieren dar otro formato a estas listas simplemente editan el CSS, yo lo hice de esta forma para que distinguiera cada sublista.</p>
<p>Y aquí termina este minitutorial, espero les sea de mucha utilidad <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/11/how-to-crear-listas-anidadas-de-colores-con-css.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dividir en varias columnas las categorias, tags y paginas en wordpress</title>
		<link>http://soycachanilla.com/2009/10/dividir-en-varias-columnas-las-categorias-tags-y-paginas-en-wordpress.html</link>
		<comments>http://soycachanilla.com/2009/10/dividir-en-varias-columnas-las-categorias-tags-y-paginas-en-wordpress.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:17:02 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[tips wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=1881</guid>
		<description><![CDATA[Hace un par de días leía un foro y me encontré un tema donde un morro pregunto que si como se podía dividir su blogroll en dos columnas, iba responderle como hacerlo pero alguien mas se me adelanto. Por ese motivo hoy decidí publicar lo que le iba responder, pero lo siguiente no solo sirve para [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://soycachanilla.com/wp-content/uploads/2009/10/icon_big_wordpress.jpg"><img class="aligncenter size-full wp-image-1882" title="logo de wordpress" src="http://soycachanilla.com/wp-content/uploads/2009/10/icon_big_wordpress.jpg" alt="logo de wordpress" width="234" height="229" /></a></p>
<p>Hace un par de días leía un foro y me encontré un tema donde un morro pregunto que si como se podía <strong><a href="http://forobeta.com/wordpress/5053-dividir-columnas-mi-blogroll.html">dividir su blogroll </a>en dos columnas</strong>, iba responderle como hacerlo pero alguien mas se me adelanto. Por ese motivo hoy decidí publicar lo que le iba responder, pero lo siguiente no solo sirve para dividir el blogroll, si no también para las tags, categorías y paginas, incluso sirve para paginas que no utilizan wordpress ya que se hace con <strong>CSS</strong> y <strong>listas html ul, li y divs</strong>.<br />
<span id="more-1881"></span><br />
Para empezar guarden el siguiente código en un archivo html y modifiquen las propiedades(medio lo explique para que le entiendan). </p>
<p><strong>ejemplo.html</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Dividir categorías en 2&lt;/title&gt;
&lt;style type=&quot;text/css&quot;&gt;
&nbsp;
.divide { color:#FF8000; /*Color de las letras*/ }
&nbsp;
.divide ul {
	width: 175px; /*ancho del cuadro ul*/
	height: 160px; /*alto del cuadro ul*/
	background:#333;/* fondo del ul */
	list-style-type:none; /*para quitar los estilos de la lista*/
	text-align:center; /*alineamos todo su contenido al centro del cuadro ul*/
	padding-left:5px; /*Esto separa 5 pixeles el contenido dentro del cuadro ul*/
	}
&nbsp;
.divide li {
    background:#fff; /*fondo blanco de cada elemento li*/
	width:80px; /* es el ancho de las li para poner el texto */
	margin:10px 5px 0 0; /* son los margenes de li con respecto a ul*/
	padding:0 10px 0 5px; /* estos son las medidas dentro de cada elemento li (cuadro blanco)*/
	line-height:15px; /* esta es la separación de cada categoría hacia abajo*/
	float:left;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;divide&quot;&gt;
     &lt;ul&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;li&gt;Categorias&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&nbsp;
&lt;/body&gt;
&nbsp;
&lt;/html&gt;</pre></div></div>

<p>El resultado debe ser igual a este:<br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/10/Dibujo.PNG"><img src="http://soycachanilla.com/wp-content/uploads/2009/10/Dibujo.PNG" alt="Dibujo" title="Dibujo" width="215" height="169" class="aligncenter size-full wp-image-1883" /></a><br />
Como verán el resultado es bastante feo, pero utilice esos colores para que se den cuenta que es lo que se modifica al editar el CSS, a ustedes les toca dejarlo bonito, si quieren mas de una columna es cuestión de modificar el ancho del cuadro de los ul <strong>width: 175px</strong>;.</p>
<p>Ahora, para implementar ese código en las <strong>categorías, tags, paginas y links de wordpress</strong>, debemos copiar el contenido que esta dentro de las etiquetas <strong>< style > y < /style ></strong> y pegarlo dentro del archivo <strong>style.css</strong> de nuestro theme.<br />
Hecho eso utilizaremos las funciones que llaman las listas de paginas, tags etc.. y las colocamos donde queremos que se vizualicen.</p>
<p><strong>Para dividir en varias columnas las paginas de wordpress se hace así</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;divide&quot;&gt;
	&lt;ul&gt;
 	<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<p><strong>Para dividir las categorías en varias columnas</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;divide&quot;&gt;
	&lt;ul&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_categories<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<p><strong>Para dividir las tags en varias columnas</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;divide&quot;&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_tag_cloud<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<p><strong>Para dividir los bookmarks, links , blogroll o como quieran llamarle</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;divide&quot;&gt;
  &lt;ul&gt;
   <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<p>FIN!, espero les sea útil <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/10/dividir-en-varias-columnas-las-categorias-tags-y-paginas-en-wordpress.html/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to: Crear bordes redondos con CSS y chicanearlos en IE8</title>
		<link>http://soycachanilla.com/2009/09/how-to-crear-bordes-redondos-con-css-y-chicanearlos-en-ie8.html</link>
		<comments>http://soycachanilla.com/2009/09/how-to-crear-bordes-redondos-con-css-y-chicanearlos-en-ie8.html#comments</comments>
		<pubDate>Tue, 08 Sep 2009 22:01:07 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño web mexicali]]></category>
		<category><![CDATA[div con css]]></category>
		<category><![CDATA[ejemplos css]]></category>
		<category><![CDATA[hosting mexicali]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=1533</guid>
		<description><![CDATA[Hoy les voy a dar unas clases de CSS, vamos a redonderle los bordes a unos div o cajitas que no son lo mismo que las tablas(las tablas son para mostrar datos, no para crear una web con tablas y celdas, no mamen!), primero de la forma normal y después de la forma chicaneada Empezamos, [...]]]></description>
			<content:encoded><![CDATA[<p>Hoy les voy a dar unas clases de CSS, vamos a redonderle los bordes a unos div o cajitas que no son lo mismo que las tablas(las tablas son para mostrar datos, no para crear una web con tablas y celdas, no mamen!), primero de la forma normal y después de la forma chicaneada <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Empezamos, según la w3c que es la encargada de establecer todos los estándares web para facilitarnos la vida (simon!), si queremos redondear las esquinas de un elemento html se hace de la siguiente forma.<br />
Añadiendo <strong>border-radius:10px;</strong> a las propiedades de nuestros elementos, donde obviamente el 10px puede variar dependiendo de que tan redondas queremos las esquinas, si colocan esa propiedad así como la puse, las cuatro esquinas del DIV quedaran redondas, pero que pasa si solo queremos las dos esquinas de abajo redondas? o las dos de arriba? o las de la derecha o solo una? Bueno, para eso tenemos las siguientes propiedades que nos facilitaran eso.<br />
<span id="more-1533"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">border-top-left-radius
border-top-right-radius
border-bottom-right-radius
border-bottom-left-radius</pre></td></tr></table></div>

<p>Con esas propiedades definimos que esquina vamos a redondear y le colocamos la medida del radio: 5px, 10px, 15px o lo que queramos. Pero como no todo en la vida es tan fácil, resulta que estas propiedades no jalan todavía en los navegadores actuales y estos tienen &#8220;sus propias propiedades propias de ellos&#8221; :O!! Por ejemplo, para <strong>redondear bordes con CSS para firefox</strong> y todos sus hijos (seamonkey,mozilla etc..) necesitamos estas:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">-moz-border-radius
-moz-border-radius-topleft
-moz-border-radius-topright
-moz-border-radius-bottomright
-moz-border-radius-bottomleft</pre></td></tr></table></div>

<p>Para <strong>redondear esquinas con CSS para Chrome y Safari </strong>que utilizan esa onda del karatekit llamada <strong>webkit</strong> se utilizan estas:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">-webkit-border-radius
-webkit-border-top-left-radius
-webkit-border-top-right-radius
-webkit-border-bottom-right-radius
-webkit-border-bottom-left-radius</pre></td></tr></table></div>

<p>Para IE8 supuestamente existe <strong>-ms-border-radius</strong>, pero nel!! no jala y tienes que utilizar hacks o fixes como<strong> <a href="http://www.twinhelix.com/css/iepngfix/">iepngfix.htc</a> o <a href="http://www.htmlremix.com/files/20090716/border-radius.htc">border-radius.htc</a></strong><br />
Ejemplo bordes redondos para Firefox y sus hijos.</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
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;HEAD&gt;
 &lt;title&gt;Bordes redondos&lt;/title&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=8&quot; /&gt;
 &lt;style type=&quot;text/css&quot;&gt;
 body { text-align:center; }
.cajita {
width:200px;
padding:5px;
margin:0 auto 0 auto;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
background:#FF0000;
color:#fff;
text-align:left;
}
.cajita p{
padding 0px;
margin 0px;
background:#fff;
color:#000;
text-align:center;
}
&nbsp;
&lt;/style&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
   &lt;div class=&quot;cajita&quot;&gt;
   &lt;p&gt;Titulo noticia&lt;/p&gt;
   Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged..
&lt;/div&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre></td></tr></table></div>

<p><strong>Resultado: </strong></p>
<p style="text-align: center;"><img class="aligncenter" src="http://i29.tinypic.com/330z8u0.jpg" alt="div css" /></p>
<p>Para los demás navegadores(excepto IE) se hace de la misma forma, solo que debemos cambiar la propiedad <strong>-moz-border-radius-bottomright</strong>  por las que sirven para los otros navegadores o simplemente agregar esas propiedades para que nuestra web se vea con bordes redondos en todos los navegadores no importa con cual se acceda.</p>
<p>Ahora, esta es la forma fea de crear bordes redondos a una web con IE(sin css), no importa si es ie6,ie7,ie8 etc..<br />
Lo primero que tenemos que hacer es crear una imagen con los bordes ya dibujados, debe ser del mismo ancho que nuestra cajita y debe tener el mismo fondo para que no se note que es una imagen.<br />
<strong>Por ejemplo:</strong><br />
<img src="http://i27.tinypic.com/23lyrur.jpg" alt="ejemplo css mas bordes redondos" /><br />
Para esto vamos a ocupar 3 Divs, uno que sirva como contenedor, otro que es el que tiene la información y un tercero donde vamos a meter nuestra imagen que sirve de borde.<br />
Este ejemplo esta hecho para que los bordes se vean en firefox, chrome, safari e ie.</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
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;HEAD&gt;
 &lt;title&gt;Bordes redondos&lt;/title&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=8&quot; /&gt;
 &lt;style type=&quot;text/css&quot;&gt;
 body { text-align:center; }
.cajita {
width:200px;
padding:5px;
margin:0 auto 0 auto;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
background:#FF0000;
color:#fff;
text-align:left;
}
.cajita p{
padding 0px;
margin 0px;
background:#fff;
color:#000;
text-align:center;
}
.bordeie8{
background:#FF0000;
}
&lt;/style&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;div&gt;
   &lt;div class=&quot;cajita&quot;&gt;
   &lt;p&gt;Titulo noticia&lt;/p&gt;
   Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged..
   &lt;/div&gt;
  &lt;!--[if IE ]&gt; &lt;div class&quot;bordeie8&quot;&gt;
   &lt;img src=&quot;bottom.png&quot; border=&quot;0&quot;&gt;
   &lt;/div&gt;
   &lt;![endif]--&gt;
&lt;/div&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre></td></tr></table></div>

<p>Si se dan cuenta utilice una condición que solo reconocen los navegadores explorer <strong>< !--[if IE ]> < ![endif]--></strong> esta condición significa que si el navegador con el que entro X persona es IE(cualquiera) mostrara un div que contiene dentro de el una imagen que es la que tiene los bordes redondos, si no es IE no hara nada y mostrara los bordes como se definieron en las propiedades de la clase cajita.<br />
<strong>Este es el resultado en IE8</strong></p>
<p style="text-align: center;"><img class="aligncenter" src="http://i27.tinypic.com/iqa6w9.jpg" alt="div css" /></p>
<p><strong>Comentarios?</strong>, por si no los hay y creen que entendieron todo, pss a ver quien puede hacer un circulo dentro de otro circulo con puro CSS <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/09/how-to-crear-bordes-redondos-con-css-y-chicanearlos-en-ie8.html/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to: Colocar imágenes en las categorías del blog</title>
		<link>http://soycachanilla.com/2009/08/how-to-colocar-imagenes-en-las-categorias-del-blog.html</link>
		<comments>http://soycachanilla.com/2009/08/how-to-colocar-imagenes-en-las-categorias-del-blog.html#comments</comments>
		<pubDate>Tue, 18 Aug 2009 21:50:19 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div con css]]></category>
		<category><![CDATA[tips wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=1413</guid>
		<description><![CDATA[Hace un par de semanas escribí un tutorial en forobeta donde mostraba como colocar una imagen con un link para entrar a determinada categoría de un blog en wordpress en ves de mostrar solo un link de texto. Para hacer esto es muy sencillo, tan solo deben colocar este pedazo de código donde quieren que [...]]]></description>
			<content:encoded><![CDATA[<p>Hace un par de semanas escribí un tutorial en <strong>forobeta</strong> donde mostraba como colocar una imagen con un link para entrar a determinada categoría de un blog en wordpress en ves de mostrar solo un link de texto.</p>
<p>Para hacer esto es muy sencillo, tan solo deben colocar este pedazo de código donde quieren que aparezca la imagen.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CELULARES'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;a href=&quot;http://rutadelacategoria.com/CELULARES&quot;&gt;&lt;img src=&quot;http://rutadelaimagen.com/img.png&quot; tag=&quot;Siempre llenen este campo con un texto alterno&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>En la primer linea preguntamos if/si la categoría es <strong>CELULARES</strong>, si lo es entonces coloca la imagen de la ruta que colocamos, si no es igual a esa categoría no hace nada. Si ustedes quieren cambiar la categoría solo deben reemplazar la palabra <strong>CELULARES</strong> por la categoría deseada.<br />
<span id="more-1413"></span><br />
Ahora un poco mas avanzado y combinado con mi tutorial de Colocar Imágenes Aleatorias</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CELULARES'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;a href=&quot;http://rutadelacategoria.com/CELULARES&quot;&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/CELULARES/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$num</span><span style="color: #339933;">=</span><span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">.</span><span style="color: #000088;">$num</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot; tag=&quot;Se asignara 1 de 8 imágenes posibles a la categoría de celulares&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>El código de arriba dice que si la categoría es <strong>CELULARES</strong> pondrá una de entre 8 imágenes aleatorias contenidas en la carpeta <strong>CELULARES</strong><br />
<strong>bloginfo(&#8216;template_url&#8217;) </strong><---Nos lanza la ruta del blog hasta el theme que usamos ejemplo:<strong> miblog.com/wp-content/freshtheme</strong> y se agrega<strong> /CELULARES/</strong> porque es una subcarpeta dentro de la carpeta del theme y quedaría así.<br />
<strong>miblog.com/wp-content/freshtheme/CELULARES</strong></p>
<p><strong>$num=rand(1, 8 )</strong> es el que se encarga de generar un número aleatorio desde el 1 hasta el 8 (obvio las imágenes se llamaran 1.png,2.png&#8230;. 8.png y debe haber 8, si no están las 8 puede marcar error)</p>
<p>Otra cosa que pueden hacer es que al momento de hacer el random establezcan limites para mostrar varias categorías con imagen, por ejemplo, si solo crean una carpeta de imágenes pueden decir que de la 1 a la 4 son imágenes de celulares, de la 5 a la 8 imágenes de tecnología, así al momento del random modifican por algo así.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CELULARES'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;a href=&quot;http://google.com&quot;&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/IMAGENES/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$num</span><span style="color: #339933;">=</span><span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">.</span><span style="color: #000088;">$num</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot; tag=&quot;se colocara una imagen aleatoria entre 1 y 4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tecnologia'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;a href=&quot;http://google.com&quot;&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/IMAGENES/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$num</span><span style="color: #339933;">=</span><span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">.</span><span style="color: #000088;">$num</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot; tag=&quot; se colocara una imagen aleatoria entre 4 y 8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Ahora que si quieren poner todas las categorías con imagen sin que se vea feo su theme pueden hacer algo como esto.<br />
Tan solo copien este código y lo guardan en un archivo html para que vean como funciona, luego de eso reemplazan el contenido de cada div por el código necesario para colocar una imagen con link para cada categoría como se hizo arriba.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;HTML&gt;
&lt;HEAD&gt;
 &lt;TITLE&gt;Slide Imagenes by Daniel de soycachanilla.com&lt;/TITLE&gt;
&lt;/HEAD&gt;
  &lt;style&gt;
.divslide
{
float: center;
position: relative;
overflow-x: scroll;
width: 720px;
height: 120px;
margin-top: 0px;
margin-right: 20px;
margin-bottom: 0px;
margin-left: 10px;
background-color: #000000;
&nbsp;
}
.divslide .imagenes
{
float: left;
overflow-x: hidden;
overflow-y: hidden;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
width: 100px;
background-color: #0000FF;
height: 80px;
}
 &lt;/style&gt;
&lt;BODY&gt;
&nbsp;
&lt;div class=&quot;divslide&quot;&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 0px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 120px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 240px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 360px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 480px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 600px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;div style=&quot;float: none; position: absolute; left: 720px;&quot; class=&quot;imagenes&quot;&gt;
&lt;img src=&quot;http://i32.tinypic.com/2a6vw2w.jpg&quot; tag=&quot; TEXTO ALTERNATIVO A IMAGEN&quot; border=&quot;0&quot; height=&quot;80&quot; width=&quot;100&quot;&gt;
&lt;/div&gt;
&nbsp;
&lt;/div&gt;
&nbsp;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre></div></div>

<p>Así es como lo van a ver una ves implementado de esta manera.<br />
<a href="http://soycachanilla.com/wp-content/uploads/2009/08/Dibujo.PNG"><img src="http://soycachanilla.com/wp-content/uploads/2009/08/Dibujo-300x50.PNG" alt="logo virtual box" title="logo virtual box" width="300" height="50" class="aligncenter size-medium wp-image-1420" /></a><br />
Para usarlo en wordpress copian el contenido de<strong> < style > < / style></strong> y lo guardan en el archivo <strong>style.css</strong> de su theme, y así ya pueden colocar los <strong>DIV del slide</strong> en cualquier parte de su blog y modificarlo a su gusto <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Si algo no entendieron o quieren complementar algo me dicen, si me equivoque en algo también <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/08/how-to-colocar-imagenes-en-las-categorias-del-blog.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ya no quiero jugar con ie6, es el diablo!</title>
		<link>http://soycachanilla.com/2009/07/ya-no-quiero-jugar-con-ie6-es-el-diablo.html</link>
		<comments>http://soycachanilla.com/2009/07/ya-no-quiero-jugar-con-ie6-es-el-diablo.html#comments</comments>
		<pubDate>Sat, 04 Jul 2009 06:50:20 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Diseños web]]></category>
		<category><![CDATA[estilos]]></category>
		<category><![CDATA[styles]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=947</guid>
		<description><![CDATA[Para quienes no sepan que es ie6 les informo, es el Internet Explorer en su versión 6 que viene con Windows XP, un explorador viejo que no cumple con los estándares w3c, es inseguro y es odiado por muchos diseñadores web. ¿Por que? pues porque actualmente existen muchos tipos de navegadores como lo son Firefox, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.robotjohnny.com/blog/ie6-denial-message-for-momentilecom/"><img class="size-full wp-image-952 aligncenter" title="momentile-final" src="http://soycachanilla.com/wp-content/uploads/2009/06/momentile-final.jpg" alt="momentile-final" width="510" height="363" /></a></p>
<p>Para quienes no sepan que es <strong>ie6</strong> les informo, es el <strong>Internet Explorer</strong> en su versión <strong>6</strong> que viene con Windows XP, un explorador viejo que no cumple con los estándares <a href="http://www.w3.org/">w3c</a>, es inseguro y es odiado por muchos diseñadores web. <strong>¿Por que?</strong> pues porque actualmente existen muchos tipos de navegadores como lo son <strong>Firefox, Opera, Chrome,Safari,ie8</strong> entre otros. Y que todos estos navegadores cumplen con la mayoría si no es que todos los estándares que propone la <a href="http://www.w3.org/">w3c</a> que le hacen  la vida mas  fácil al diseñador  al momento de diseñar una web, una buena hoja de estilos CSS hace que tu página se vea muy bonita, acomodada como tu quieres y muy fácil de editar sin modificar casi nada para que funcione perfectamente en todos los navegadores actuales.  Pero, esta felicidad se acaba cuando te das cuenta que no solo tienes que dejar bonita tu página para los navegadores actuales, si no que tienes que regresarte en el tiempo y también tienes que adaptarla a versiones viejas del navegador ie6 porque  todavía lo utiliza mucha gente, sobre todo quienes tienen XP sin actualizar.<br />
<span id="more-947"></span><br />
Esto hace que tengas que trabajar doble, pierdas tiempo y lo bonito que habías hecho lo tengas que volver hacer, solo y exclusivamente para ie6. Y la cosa es que tienes que hacerlo así, porque cada persona que entre a tu web puede ser un posible  cliente que no puede ser descartado y al entrar no se puede topar con un desastre que hace que no pueda visualizar correctamente la pagina y podría perder el interés en lo que ofreces.</p>
<p>Hace unos días estuve trabajando en una web de <strong>@anabarb </strong>que pase de un <strong>PSD</strong>(archivo de photoshop) a <strong>XHTML/CSS</strong>, hice la conversión del archivo y antes de entregar la primera versión probé la pagina con 4 Navegadores (ie8,Firefox,Chrome y Opera) la página se visualizaba muy bien en mi pc, pero @anabarb se topo con algunos errores porque su monitor era widescreen y el mio no, por eso no detecte esos errores.</p>
<p>Nuevamente me puse a corregir el css para que se visualizara bien en todos los navegadores y listo, entregue la versión 2 para que me la revisara y toma!! el cliente tenía instalado <strong>internet explorer 6</strong> y <strong>7</strong> y Pwned!!. No había hecho pruebas con esa versión del ie porque ninguna de mis pc lo tiene instalado :S, la página se miraba mal gracias a que muchas de las propiedades de los elementos no las reconoce y pues no las tomaba en cuenta.</p>
<p>Y otra ves me puse a corregir, busque una victima con ie6 instalado en su compu y la agarre de beta tester <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , después de varias pruebas a la página se miraba correctamente según mi victima, pero necesitaba otra victima para comprobar, después de un rato @anabarb me consiguió otra victima amigo suyo e hice pruebas con el nuevo beta tester y su ie6. Luego con un par de ajustes quedo la web y el beta tester ya la miraba bonita, el cliente lo aprobó diciendo que ya se miraba bien en todas las computadoras de su trabajo y barbara y yo terminamos felices ^^ .</p>
<p>Gracias a todo esto aprendí cosillas nuevas. Por ejemplo, para resolver este problema mi solución fue crear 3 archivos de estilos CSS uno para ie6 otro para ie7 y uno para el resto de los navegadores, de esta manera si había un error en ie6 solo modificaba la hoja de estilos que cree para ese navegador. Y si tenia problemas con los demás, pues corregía la otra y no alteraba los cambios de una y otra.</p>
<p>Y bueno, para todos los que quieran jugar con CSS les recomiendo que investiguen sobre esta etiqueta de IExplorer, seguramente les facilitara la vida muchísimo &lt;!&#8211;[if  IE 6]&gt;.</p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/07/ya-no-quiero-jugar-con-ie6-es-el-diablo.html/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>¿Que ha pasado esta semana?</title>
		<link>http://soycachanilla.com/2009/06/que-ha-pasado-esta-semana.html</link>
		<comments>http://soycachanilla.com/2009/06/que-ha-pasado-esta-semana.html#comments</comments>
		<pubDate>Fri, 26 Jun 2009 04:57:50 +0000</pubDate>
		<dc:creator>danielmd</dc:creator>
				<category><![CDATA[Cachanilla]]></category>
		<category><![CDATA[Concierto]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Diseño]]></category>
		<category><![CDATA[fútbol]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Portafolio]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[trabajo]]></category>
		<category><![CDATA[Visitas]]></category>

		<guid isPermaLink="false">http://soycachanilla.com/?p=973</guid>
		<description><![CDATA[Estamos a Jueves, lo se. Pero han pasado tantas cosas buenas y malas que he decidido publicar desde hoy esta entrada antes de que se me olvide todo , así ya solo voy editando y agregando lo que suceda de aquí al sábado. 1.- Me pagaron 2 trabajos ^^ y tengo dinerin. 2.- He aprendido [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://soycachanilla.com/wp-content/uploads/2009/06/calendario-anual.jpg"><img class="size-full wp-image-986 aligncenter" title="calendario-anual" src="http://soycachanilla.com/wp-content/uploads/2009/06/calendario-anual.jpg" alt="calendario-anual" width="500" height="151" /></a></p>
<p>Estamos a Jueves, lo se. Pero han pasado tantas cosas buenas y malas que he decidido publicar desde hoy esta entrada antes de que se me olvide todo <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , así ya solo voy editando y agregando lo que suceda de aquí al sábado.<br />
<span id="more-973"></span><br />
1.- Me pagaron 2 trabajos ^^ y tengo dinerin.<br />
2.- He aprendido mas de CSS<br />
3.- IE6 es el diablo<br />
4.- IE6 suckea<br />
5.- Odio a IE6<br />
6.- Se descompuso mi carro.<br />
7.- Le robaron la bicicleta a mi hermano.<br />
8.- Me estoy haciendo mas pro en PSD to XHTML/CSS.<br />
9.- Me ofrecieron hacer otro trabajin de una web de Mexicali.<br />
10.- Compre mi boleto para los fabulosos cadillacs.<br />
11.- Conocí a @anabarb por un trabajo que le hice ^^.<br />
<strong>12.- Una empresa de hosting me ofreció patrocinarme host+dominio por un año para sortear entre mis lectores <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> !! (estén pendientes).</strong><br />
13.- Retome la construcción de mi portafolio de diseño web.<br />
14.- Se <strong>murió Michael Jackson</strong>!! <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
15.- No pude ir a ver transformers 2 porque mi carro no sirve U_U&#8217;.<br />
16.- Corregí un error de mi mod de SMF.<br />
17.- Gane 3.34 dlls con infolinks en un solo día, ja!!.. Todo un récord para mi.<br />
18.- 2 Mexicalenses mas se unieron a <a href="http://labajaenred.com">labajaenred.com</a><br />
19.- Descubrí una nueva serie llamada el &#8220;<strong>Aguila Roja</strong>&#8220;, es española, esta chila y por lo menos me entretiene mientras salen capítulos nuevos de mis series favoritas.<br />
20.- Me puse de acuerdo con Melissa y Karla para ir a los fabulosos cadillacs el próximo jueves <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> !! <strong>¿Alguien mas se apunta?</strong> para ir con nosotros?<br />
21.- Últimamente el blog esta recibiendo cerca de 400 visitas diarias.<br />
22.- Mexicali se quedo sin equipo en primera división <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
23.- Odio a la Federación Mexicana de Fútbol.<br />
24.- 2 Mexicalenses me mandaron saludos desde San Diego y Alemania ^^, que les gusto el blog <img src='http://soycachanilla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> !!<br />
25.-Tendré hosting gratis en ZP por un año gracias a todos los problemas que me ha causado el servidor Plesk, tienen un nuevo servidor a donde me tengo que mudar para compensarme todo eso. Lo malo, el traspaso lo tengo que hacer yo :S, tengo que mudar casi 2 gigas entre contenido y base de datos :/.<br />
26.-Saldrá un juego para xbox360 y PS3 de la triple AAA!! al fin podre pelear con <strong>super porki</strong>!!<br />
27.- También saldrá un nuevo juego de <strong>King Of Figthers</strong>!!<br />
28.- La selección de Estados Unidos le gano a España 2-0.<br />
29.- Increíblemente después de mucho tiempo!! México GOLIO!! 4 &#8211; 0 a Venezuela, cosa que en el pasado sería algo común, pero en la actualidad México solo mete goles de milagro, así que 4 son raros.<br />
30.-Extrañas búsquedas llegan a mi blog:</p>
<ul>
<li> Fotos de Masajistas en Mexicali</li>
<li> Fotos de Gorditas de Mexicali.</li>
<li> Busco novia de Mexicali</li>
<li> Como quitarle la ropa a una mujer</li>
<li> Mujeres de Mexicali</li>
<li> Baleados en Mexicali</li>
<li> Venecia Mexicali</li>
<li><a href="http://www.google.com.mx/search?source=ig&amp;hl=es&amp;rlz=1G1GGLQ_ESMX258&amp;q=cual%20es%20la%20pagina%20del%20cobach%20de%20mexicali&amp;meta=lr%3D&amp;aq=f&amp;oq=">Cual es la pagina del Cobach de Mexicali</a></li>
<li><a href="http://www.google.com.mx/search?hl=es&amp;client=firefox-a&amp;channel=s&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;q=mujer%2Bwebcam%2Bchat%2Bmexicali&amp;btnG=Buscar&amp;meta=">Mujer+webcam+chat+mexicali</a></li>
</ul>
<p>31.-Baja California en 3er lugar en el medallero de la olimpiada Nacional 2009<br />
32.-También se murió Farrah Fawcett que no se ni quien chingados es, pero dicen que es famosa.<br />
33.- Iniciaron las inscripciones para entrar al Torneo de los Barrios de Mexicali(fútbol).<br />
34.- 3 Jugadores de los Soles de Mexicali fueron llamados a la Pre-Selección Mexicana de Basquetbol(Horacio Llamas,Anthony Pedroza y Héctor Hernández)</p>
<p><strong>Continuara&#8230;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://soycachanilla.com/2009/06/que-ha-pasado-esta-semana.html/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

