<?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>Blog do Zé Andrade &#187; style sheet</title>
	<atom:link href="http://www.zeandrade.com.br/tag/style-sheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zeandrade.com.br</link>
	<description>T.I. , Software Livre &#38; Generalidades</description>
	<lastBuildDate>Sat, 25 Feb 2012 19:20:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CSS Poderoso &#8211; Parte  1</title>
		<link>http://www.zeandrade.com.br/2009/03/css-poderoso-parte-1/</link>
		<comments>http://www.zeandrade.com.br/2009/03/css-poderoso-parte-1/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 13:11:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[style sheet]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://an.drade.nom.br/?p=52</guid>
		<description><![CDATA[CSS &#8211; Cascading Style Sheets , ou em  português  Folhas de Estilo , é o recurso  utilizado para formatar as páginas HTML . Como se diz, é ele que faz a&#8221; perfumaria&#8221; das páginas. Como tudo na Internet, este recurso também está evoluindo. O CCS3 incorporará recursos interessantes, alguns inclusive já suportados por navegadores mais [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CSS &#8211; Cascading Style Sheets</strong> , ou em  português  <strong>Folhas de Estilo</strong> , é o recurso  utilizado para formatar as páginas HTML . Como se diz, é ele que faz a&#8221; perfumaria&#8221; das páginas. Como tudo na Internet, este recurso também está evoluindo. O CCS3 incorporará recursos interessantes, alguns inclusive já suportados por navegadores mais novos, como o Firefox 3.</p>
<p>Para conhecer muitos deste recursos indico o site <a href="http://www.css3.info" target="_blank">www.css3.info</a></p>
<p>Um destes recursos , que acredito estar disponível na maioria dos navegadores atuais é o tratamento mais específico do contexto dos elementos.</p>
<p>Abaixo, um código exemplo  que faz o tratamento contextual de cada link. Ou seja, ao invés de inserir imagens e cores direto no corpo do documento  para diferentes tipos de link , o que se faz é criar padrões no CSS  que serão interpretados no contexto da página, criando o efeito visual desejado.</p>
<p><a href="http://an.drade.nom.br/pagina_teste_20090317.html" target="_blank">Veja aqui o resultado</a></p>
<p>Obs. Os ícones são do site <a href="http://www.famfamfam.com" target="_blank">www.famfamfam.com</a></p>
<div style="margin: 0px auto; padding: 5px; width: 90%; background-color: #efefef; text-align: left; font-family: monospace;"><code><span style="font-weight: bold; color: #000000;">&lt;html&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;head&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;style&gt;</span><br />
<span style="color: #000000;">div</span><span style="font-weight: bold; color: #000000;">{</span><br />
<span style="font-weight: bold; color: #000000;">font-family:</span><span style="color: #000000;"> </span><span style="color: #800000;">sans-serif</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#000</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #0000ff;">:link</span><span style="color: #000000;">, a</span><span style="color: #0000ff;">:visited</span><span style="font-weight: bold; color: #000000;">{</span><br />
<span style="font-weight: bold; color: #000000;">text-decoration:</span><span style="color: #800000;">none</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#00c</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #ff00ff;">[href]</span><span style="font-weight: bold; color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">padding-left:</span><span style="color: #800000;">18px</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #ff00ff;">[href^=</span><span style="color: #dd0000;">"http://an.drade.nom.br"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:link</span><span style="color: #000000;">,a</span><span style="color: #ff00ff;">[href^=</span><span style="color: #dd0000;">"http://an.drade.nom.br"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:visited</span><br />
<span style="font-weight: bold; color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#369</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">background:</span><span style="color: #800000;">transparent </span><span style="color: #800000;">url(</span><span style="color: #dd0000;">'http://www.famfamfam.com/lab/icons/mini/icons/icon_home.gif'</span><span style="color: #800000;">)</span><span style="color: #000000;"> </span><span style="color: #800000;">no-repeat</span><span style="color: #000000;"> </span><span style="color: #800000;">center</span><span style="color: #000000;"> </span><span style="color: #800000;">left</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".pdf"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:link</span><span style="color: #000000;">,a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".pdf"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:visited</span><br />
<span style="font-weight: bold; color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#f90</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">background:</span><span style="color: #800000;">transparent </span><span style="color: #800000;">url(</span><span style="color: #dd0000;">'http://www.famfamfam.com/lab/icons/mini/icons/file_acrobat.gif'</span><span style="color: #800000;">)</span><span style="color: #000000;"> </span><span style="color: #800000;">no-repeat</span><span style="color: #000000;"> </span><span style="color: #800000;">center</span><span style="color: #000000;"> </span><span style="color: #800000;">left</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".flv"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:link</span><span style="color: #000000;">,a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".flv"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:visited</span><span style="color: #000000;">,a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".wmv"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:link</span><span style="color: #000000;">,a</span><span style="color: #ff00ff;">[href$=</span><span style="color: #dd0000;">".wmv"</span><span style="color: #ff00ff;">]</span><span style="color: #0000ff;">:visited</span><br />
<span style="font-weight: bold; color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#396</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">background:</span><span style="color: #800000;">transparent </span><span style="color: #800000;">url(</span><span style="color: #dd0000;">'http://www.famfamfam.com/lab/icons/mini/icons/page_video.gif'</span><span style="color: #800000;">)</span><span style="color: #000000;"> </span><span style="color: #800000;">no-repeat</span><span style="color: #000000;"> </span><span style="color: #800000;">center</span><span style="color: #000000;"> </span><span style="color: #800000;">left</span><span style="font-weight: bold; color: #000000;">;</span><br />
<span style="font-weight: bold; color: #000000;">}</span><br />
<span style="color: #000000;">a</span><span style="color: #ff00ff;">[href]</span><span style="color: #0000ff;">:hover</span><span style="font-weight: bold; color: #000000;">{</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">color:</span><span style="color: #800000;">#c00</span><span style="font-weight: bold; color: #000000;">;</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">text-decoration:</span><span style="color: #800000;">underline</span><span style="font-weight: bold; color: #000000;">;}</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/style&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/head&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;body&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;div&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;p&gt;</span><span style="color: #000000;"> veja a constru</span><span style="color: #0000ff;">&amp;ccedil;&amp;atilde;</span><span style="color: #000000;">o destes links:</span><span style="font-weight: bold; color: #000000;">&lt;/p&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/a&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;a</span><span style="color: #008000;"> href=</span><span style="color: #aa0000;">"http://an.drade.nom.br"</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><span style="color: #000000;">Link para Home</span><span style="font-weight: bold; color: #000000;">&lt;/a&gt;&lt;br</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;a</span><span style="color: #008000;"> href=</span><span style="color: #aa0000;">"http://dominioquenaoexiste/doc.pdf"</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><span style="color: #000000;">Link para Documento 1</span><span style="font-weight: bold; color: #000000;">&lt;/a&gt;&lt;br</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;a</span><span style="color: #008000;"> href=</span><span style="color: #aa0000;">"http://dominioquenaoexiste/doc.pdf"</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><span style="color: #000000;">Link para Documento 2</span><span style="font-weight: bold; color: #000000;">&lt;/a&gt;&lt;br</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;a</span><span style="color: #008000;"> href=</span><span style="color: #aa0000;">"http://dominioquenaoexiste/video.flv"</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><span style="color: #000000;">Link para video 1</span><span style="font-weight: bold; color: #000000;">&lt;/a&gt;&lt;br</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;a</span><span style="color: #008000;"> href=</span><span style="color: #aa0000;">"http://dominioquenaoexiste/video.wmv"</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><span style="color: #000000;">Link para video 2</span><span style="font-weight: bold; color: #000000;">&lt;/a&gt;&lt;br</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #000000;">/&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/div&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/body&gt;</span><br />
<span style="font-weight: bold; color: #000000;">&lt;/html&gt;</span></code></div>
]]></content:encoded>
			<wfw:commentRss>http://www.zeandrade.com.br/2009/03/css-poderoso-parte-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

