<?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>ChristianGL.CoM &#187; CSS</title>
	<atom:link href="http://www.christiangl.com/archivo/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.christiangl.com</link>
	<description>El rinconcito de Christian García</description>
	<lastBuildDate>Thu, 25 Feb 2010 12:13:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS para formatear sitios por defecto</title>
		<link>http://www.christiangl.com/archivo/css-para-formatear-sitios-por-defecto.xhtml</link>
		<comments>http://www.christiangl.com/archivo/css-para-formatear-sitios-por-defecto.xhtml#comments</comments>
		<pubDate>Mon, 10 Mar 2008 00:01:25 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Manuales]]></category>
		<category><![CDATA[Programación web]]></category>
		<category><![CDATA[css reset]]></category>

		<guid isPermaLink="false">http://www.christiangl.com/archivo/css-para-formatear-sitios-por-defecto.xhtml</guid>
		<description><![CDATA[CSS Reset es un pequeño trozo de código que permite formatear todos los estilos por defecto, son muy útiles para evitar posibles problemas a la hora de maquetear un sitio web.
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CSS Reset es un pequeño trozo de código que permite formatear todos los estilos por defecto</strong>, son muy útiles para evitar posibles problemas a la hora de maquetear un sitio web.</p>
<p><pre class="css">html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, <span style="color: #000000; font-weight: bold;">font</span>, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #000000; font-weight: bold;">padding</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #000000; font-weight: bold;">border</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span>: <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">font-style</span>: <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">font-size</span>: <span style="color: #cc66cc;">100</span>%;
<span style="color: #000000; font-weight: bold;">font-family</span>: <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">vertical-align</span>: <span style="color: #993333;">baseline</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* remember to define focus styles! */</span>
<span style="color: #3333ff;">:focus </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #66cc66;">&#125;</span>
body <span style="color: #66cc66;">&#123;</span>
line-<span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #cc66cc;">1</span>;
<span style="color: #000000; font-weight: bold;">color</span>: <span style="color: #000000; font-weight: bold;">black</span>;
<span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">white</span>;
<span style="color: #66cc66;">&#125;</span>
ol, ul <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">list-style</span>: <span style="color: #993333;">none</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* tables still need ‘cellspacing=”0″‘ in the markup */</span>
table <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border-collapse</span>: <span style="color: #993333;">separate</span>;
<span style="color: #000000; font-weight: bold;">border-spacing</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #66cc66;">&#125;</span>
caption, th, td <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-align</span>: <span style="color: #000000; font-weight: bold;">left</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span>: <span style="color: #993333;">normal</span>;
<span style="color: #66cc66;">&#125;</span>
blockquote:before, blockquote:after,
q:before, q<span style="color: #3333ff;">:after </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">content</span>: “”;
<span style="color: #66cc66;">&#125;</span>
blockquote, q <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">quotes</span>: “” “”;
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>Leído en: <a href="http://www.kabytes.com/diseno/el-mejor-css-para-formatear-los-estilos-por-defecto/" target="_blank">Kabytes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiangl.com/archivo/css-para-formatear-sitios-por-defecto.xhtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 hacks CSS para que nuestras páginas se vean bien en varios navegadores</title>
		<link>http://www.christiangl.com/archivo/10-hacks-css-para-que-nuestras-paginas-se-vean-bien-en-varios-navegadores.xhtml</link>
		<comments>http://www.christiangl.com/archivo/10-hacks-css-para-que-nuestras-paginas-se-vean-bien-en-varios-navegadores.xhtml#comments</comments>
		<pubDate>Sun, 09 Mar 2008 01:48:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programación web]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.christiangl.com/archivo/10-hacks-css-para-que-nuestras-paginas-se-vean-bien-en-varios-navegadores.xhtml</guid>
		<description><![CDATA[Muchas veces cuando diseñamos una página web nos encontramos con el problema de que en algunos navegadores (el 99% de las veces es Internet Explorer) nuestro CSS no se ve correctamente. Para solucionar estos problemas stylizedweb ha publicado una lista de 10 hacks para que nuestros diseños se vean correctamente en varios navegadores   [...]]]></description>
			<content:encoded><![CDATA[<p>Muchas veces cuando diseñamos una página web nos encontramos con el problema de que en algunos navegadores (el 99% de las veces es Internet Explorer) nuestro CSS no se ve correctamente. Para solucionar estos problemas stylizedweb ha publicado una lista de 10 hacks para que nuestros diseños se vean correctamente en varios navegadores <img src='http://www.christiangl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<ul>
<li>Vertical align div</li>
<li>Min-Height</li>
<li>PNG transparency</li>
<li>Autoclear</li>
<li>Reset CSS</li>
<li>Scrolling Render IE</li>
<li>Opacity</li>
<li>PRE Tag</li>
<li>Li Background Repeat IE</li>
<li>Good to know</li>
</ul>
<p><a href="http://stylizedweb.com/2008/02/14/10-best-css-hacks/" target="_blank">Acceder a los hacks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiangl.com/archivo/10-hacks-css-para-que-nuestras-paginas-se-vean-bien-en-varios-navegadores.xhtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gráficos web usando CSS</title>
		<link>http://www.christiangl.com/archivo/graficos-web-usando-css.xhtml</link>
		<comments>http://www.christiangl.com/archivo/graficos-web-usando-css.xhtml#comments</comments>
		<pubDate>Tue, 05 Feb 2008 00:22:11 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Programación web]]></category>

		<guid isPermaLink="false">http://www.christiangl.com/archivo/graficos-web-usando-css.xhtml</guid>
		<description><![CDATA[Para utilizar estos gráficos debemos descargar el css que tiene un peso aproximado de 5 KB y aplicarlo, las graficas pueden utilizar además de un color de plano imágenes, eso esta bueno para lograr efectos degradados, sombras, etc.

Web: Pure CSS Data Chart 
Vía: Kabytes.
]]></description>
			<content:encoded><![CDATA[<p>Para utilizar estos gráficos debemos descargar el css que tiene un peso aproximado de 5 KB y aplicarlo, las graficas pueden utilizar además de un color de plano imágenes, eso esta bueno para lograr efectos degradados, sombras, etc.</p>
<p style="text-align: center"><img src="http://www.christiangl.com/wp-content/uploads/2008/02/graficos-css.jpg" alt="Graficos CSS" /></p>
<p>Web: <a href="http://cssglobe.com/post/1272/pure-css-data-chart" title="Pure CSS Data Chart" onclick="javascript:urchinTracker('/outbound/cssglobe.com/post/1272/pure-css-data-chart');">Pure CSS Data Chart </a></p>
<p>Vía: <a href="http://www.kabytes.com/diseno/graficos-utilizando-solamente-css/" target="_blank">Kabytes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiangl.com/archivo/graficos-web-usando-css.xhtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menú web hecho con imagenes y Mootools</title>
		<link>http://www.christiangl.com/archivo/menu-web-hecho-con-imagenes-y-mootools.xhtml</link>
		<comments>http://www.christiangl.com/archivo/menu-web-hecho-con-imagenes-y-mootools.xhtml#comments</comments>
		<pubDate>Sat, 29 Sep 2007 17:11:48 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Manuales]]></category>
		<category><![CDATA[Programación web]]></category>
		<category><![CDATA[Webmasters]]></category>
		<category><![CDATA[menu imagenes]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://www.christiangl.com/archivo/menu-web-hecho-con-imagenes-y-mootools.xhtml</guid>
		<description><![CDATA[Una forma de construir un menú de navegación con imágenes muy agradable usando el efecto persiana de Mootools.

Pasos para instalarlo:
1.-Descargamos el fichero (Guardar como) con las librerías (imageMenu.js y mootools.js)
2.-Incluimos en nuestra cabecera entre las etiquetas &#60; head &#62; y &#60; / head &#62; la llamada:
&#60;script type=&#34;text/javascript&#34; src=&#34;js/mootools.js&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;js/imageMenu.js&#34;&#62;&#60;/script&#62;
Nota: Verificar el &#8220;src&#8221; para que [...]]]></description>
			<content:encoded><![CDATA[<p>Una forma de construir un menú de navegación con imágenes muy agradable usando el efecto persiana de <a href="http://mootools.net/" target="_blank">Mootools</a>.</p>
<p style="text-align: center"><img src="http://www.christiangl.com/wp-content/uploads/2007/09/kwickmenu.jpg" alt="Kwickmenu" /></p>
<p>Pasos para instalarlo:<span lang="ES-AR"></span></p>
<p>1.-Descargamos el <a href="http://www.christiangl.com/descargas/kwick_menu.rar">fichero</a> (Guardar como) con las librerías (imageMenu.js y mootools.js)</p>
<p>2.-Incluimos en nuestra cabecera entre las etiquetas &lt; head &gt; y &lt; / head &gt; la llamada:<br />
<pre class="php">&lt;script type=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> src=<span style="color: #ff0000;">&quot;js/mootools.js&quot;</span>&gt;&lt;/script&gt;
&lt;script type=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> src=<span style="color: #ff0000;">&quot;js/imageMenu.js&quot;</span>&gt;&lt;/script&gt;</pre><br />
<span class="note">Nota: Verificar el &#8220;src&#8221; para que concuerde con la ruta de nuestras librerías.</span></p>
<p>3.- Insertamos el siguiente código en nuestra hoja de estilos (CSS):<br />
<pre class="css"><span style="color: #808080; font-style: italic;">/*Images menu*/</span>
<span style="color: #cc00cc;">#kwick <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>;
<span style="color: #808080; font-style: italic;">/*border-bottom: 3px double #333;*/</span>
<span style="color: #000000; font-weight: bold;">margin-top</span>: 20px;
<span style="color: #66cc66;">&#125;</span>
#kwick ul<span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">list-style</span>:<span style="color: #993333;">none</span>;
<span style="color: #66cc66;">&#125;</span>
# <span style="color: #6666ff;">.kwicks </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">block</span>;
<span style="color: #000000; font-weight: bold;">height</span>: 200px;
<span style="color: #000000; font-weight: bold;">margin</span>: 0px;
<span style="color: #66cc66;">&#125;</span>
#kwick li <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">left</span>;
<span style="color: #66cc66;">&#125;</span>
li<span style="color: #3333ff;">:after </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">content</span>: <span style="color: #ff0000;">&quot;&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.kwick </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">block</span>;
<span style="color: #000000; font-weight: bold;">cursor</span>: <span style="color: #993333;">pointer</span>;
<span style="color: #000000; font-weight: bold;">overflow</span>: <span style="color: #993333;">hidden</span>;
<span style="color: #000000; font-weight: bold;">height</span>: 200px;
<span style="color: #000000; font-weight: bold;">width</span>: 97px;
<span style="color: #808080; font-style: italic;">/*padding: 10px;*/</span>
<span style="color: #000000; font-weight: bold;">background</span>: #fff;
<span style="color: #808080; font-style: italic;">/*border-right: 5px solid #202020;*/</span>
<span style="color: #000000; font-weight: bold;">border-right</span>: 2px <span style="color: #993333;">solid</span> #fff;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.kwick </span>span <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">none</span>;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.opt1 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #9ce782 <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/landscapes.jpg<span style="color: #66cc66;">&#41;</span> ;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.opt2 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #92bdfa <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/people.jpg<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.opt3 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #faa892 <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/nature.jpg<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.opt4 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #e78282 <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/urban.jpg<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
#kwick <span style="color: #6666ff;">.opt5 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #<span style="color: #cc66cc;">000</span> <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/abstract.jpg<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">border-right</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>4.-Aquí está el código HTML de nuesto menú en cuestion:<br />
<pre class="php">&lt;div id=<span style="color: #ff0000;">&quot;kwick&quot;</span>&gt;
			&lt;ul <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwicks&quot;</span>&gt;
				&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt1&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span> &gt;&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt2&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span> &gt;&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt3&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span>&gt;&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt4&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span> &gt;&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt5&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span> &gt;&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
&lt;/div&gt;
		&lt;script type=<span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;
			<span style="color: #000000; font-weight: bold;">var</span> myMenu = <span style="color: #000000; font-weight: bold;">new</span> ImageMenu<span style="color: #66cc66;">&#40;</span>$$<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'#kwick .kwick'</span><span style="color: #66cc66;">&#41;</span>,<span style="color: #66cc66;">&#123;</span>openWidth:<span style="color: #cc66cc;">200</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></pre><br />
<span class="info">Info: {openWidth:200} asigna el ancho que tendrán las imágenes en píxeles.</span></p>
<p>5.-Para crear más opciones en el menú debemos hacer lo siguiente:</p>
<p>Continuamos añadiendo las definiciones que necesitemos en la página de estilo de nuestro sitio de la siguiente forma:<br />
<pre class="css">#kwick <span style="color: #6666ff;">.opt6 </span><span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span>: <span style="color: #cc66cc;">0</span>; <span style="color: #000000; font-weight: bold;">background</span>: #<span style="color: #cc66cc;">000</span> <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>../images/NuevaImagen.jpg<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">border-right</span>: <span style="color: #cc66cc;">0</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<p>y a continuación añadimos en el HTML de nuestro menú el link con su determinada clase:<br />
<pre class="php">&lt;li&gt;&lt;a <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;kwick opt6&quot;</span> href=<span style="color: #ff0000;">&quot;http://www.christiangl.com/&quot;</span> &gt;&lt;/a&gt;&lt;/li&gt;</pre></p>
<p>Y eso es todo, aquí os dejo la dirección de una <a href="http://www.phatfusion.net/imagemenu/index.htm" target="_blank">demo</a> del funcionamiento del menú <img src='http://www.christiangl.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christiangl.com/archivo/menu-web-hecho-con-imagenes-y-mootools.xhtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
