<?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>NerdGranny.com &#187; xhtml + css = love</title>
	<atom:link href="http://www.nerdgranny.com/category/xhtml-css-love/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdgranny.com</link>
	<description>This website is written by a network of nerd friends with passion for code, internet, cool code and some bad taste jokes based on goatse url redirects.</description>
	<lastBuildDate>Thu, 19 Jan 2012 07:29:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS differenza tra Span, Div, Id e Class</title>
		<link>http://www.nerdgranny.com/css-differenza-tra-span-div-id-e-class/</link>
		<comments>http://www.nerdgranny.com/css-differenza-tra-span-div-id-e-class/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 10:12:49 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[xhtml + css = love]]></category>

		<guid isPermaLink="false">http://www.nerdgranny.com/?p=326</guid>
		<description><![CDATA[che differenza c&#8217;è tra span e div?
span è un elemento inline, div è un elemento block
che differenza c&#8217;è tra &#60;div class=&#8221;" e &#60;div id=&#8221;" ?
sono 2 tipi di modi di identificare un&#8230;]]></description>
			<content:encoded><![CDATA[<p>che differenza c&#8217;è tra <strong>span </strong>e <strong>div</strong>?</p>
<blockquote><p>span è un elemento inline, div è un elemento block</p></blockquote>
<p>che differenza c&#8217;è tra &lt;div <strong>class</strong>=&#8221;" e &lt;div <strong>id</strong>=&#8221;" ?</p>
<blockquote><p>sono 2 tipi di modi di identificare un elemento, la <strong>class</strong> si assegna quando il riferimento <strong>non è univoco</strong>, per esempio quando c&#8217;è un elemento che si ripete più volte nella pagina, l&#8217;<strong>id</strong> si utilizza quando il riferimento <strong>è univoco</strong>, cioè deve essere presente una volta nella pagina (es. id=&#8221;container&#8221;), viene utilizzato spesso anche dai javascript per lavorare su un elemento specifico</p></blockquote>
<p>come si collegano gli <strong>ID</strong> e il <strong>CLASS</strong> nelle pagine HTML ai fogli di stile .css ?</p>
<blockquote><p><strong>&lt;div class=&#8221;ciccio&#8221;</strong> viene sempre chiamato da file css col <strong>.</strong> ad esempio <strong>.ciccio{&#8230;}</strong></p></blockquote>
<blockquote><p><strong>&lt;div id=&#8221;ciccio&#8221;</strong> viene sempre chiamato col <strong>#</strong> ad esempio  <strong>#ciccio{&#8230;}</strong></p>
<p>ocio che gli id possono comparire una sola volta nella pagina per questioni legate alle standardizzazioni del <a href="http://w3c.org">w3c</a>, è anche possibile assegnare lo stesso id a diversi tag, però non è approvato.</p></blockquote>
<p>e cosa succede se chiamo un id=&#8221;ciccio&#8221; col foglio css .ciccio?</p>
<blockquote><p>niente</p></blockquote>
<p>e se chiamo class=&#8221;ciccio&#8221; usando nel css #ciccio ?</p>
<blockquote><p>non succede niente</p></blockquote>
<p>si possono mescolare div ID e CLASS?</p>
<blockquote><p>Si, per esempio:</p>
<p>la riga nel foglio CSS<strong> </strong></p>
<p><strong>.ciccio#altronome{</strong>&#8230;<strong>}</strong></p>
<p>chiama un</p>
<p><strong>&lt;div id=&#8221;altronome&#8221; class=&#8221;ciccio&#8221;</strong></p></blockquote>
<p>cosa succede se lascio spazi vuoti nel file CSS tra la definizione delle classi e degli ID?</p>
<blockquote><p>la riga nel foglio CSS</p>
<p><strong>.ciccio #altronome{</strong>…<strong>}</strong></p>
<p>cerca un elemento che si chiama #altronome che è allinterno di un elemento che si chiama .ciccio: ad esempio</p>
<p><strong>&lt;div class=&#8221;ciccio&#8221;&gt;<br />
&lt;p id=&#8221;altronome&#8221;&gt;testo&lt;/p&gt;<br />
&lt;/div&gt;</strong></p></blockquote>
<p>nel foglio di stile CSS che differenza c&#8217;è tra <strong>Tag spazio .classe</strong> e <strong>Tag.classe?</strong> (esempio: <strong>h3 .allegato</strong> e <strong>h3.allegato</strong>)</p>
<blockquote><p>quando è presente lo spazio l&#8217;elemento che ha classe che è contenuta nel tag (esempio: &lt;h3&gt;&lt;div&gt; &#8230; &lt;div class=&#8221;allegato&#8221;&gt;)  viene trovato qualsiasi sia il contenuto tra il TAG e la CLASSE.</p>
<p>quando non c&#8217;è lo spazio, viene trovato solo il tag che ha la classe stabilita (esempio: &lt;h3 class=&#8221;allegato&#8221;&gt;)</p></blockquote>
<p>Grazie Z. sei sempre il nostro esperto di riferimento!! (che ci tiene a farvi sentire questa versione Metal della sigla di lupin)</p>
<div style="width: 220px; height: 55px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="55" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.deezer.com/embedded/small-widget-v2.swf?idSong=61940&amp;colorBackground=0x555552&amp;textColor1=0xFFFFFF&amp;colorVolume=0x39D1FD&amp;autoplay=0" /><embed type="application/x-shockwave-flash" width="220" height="55" src="http://www.deezer.com/embedded/small-widget-v2.swf?idSong=61940&amp;colorBackground=0x555552&amp;textColor1=0xFFFFFF&amp;colorVolume=0x39D1FD&amp;autoplay=0"></embed></object><br />
<span style="font-size: xx-small; color: #000000;">Discover <a href="http://www.deezer.com/en/animetal.html">ANIMETAL</a>!</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdgranny.com/css-differenza-tra-span-div-id-e-class/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Show the finger on buttons</title>
		<link>http://www.nerdgranny.com/show-the-finger-on-buttons/</link>
		<comments>http://www.nerdgranny.com/show-the-finger-on-buttons/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 08:46:15 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[usability]]></category>
		<category><![CDATA[xhtml + css = love]]></category>

		<guid isPermaLink="false">http://www.nerdgranny.com/?p=39</guid>
		<description><![CDATA[&#60; rarrr i wants taht fingerz!!
Did you know that some people doesn&#8217;t click on your buttons just because they see the arrow pointer, and they only click when they see the finger pointer?
here&#8217;s&#8230;]]></description>
			<content:encoded><![CDATA[<h4><img class="alignnone size-full wp-image-454" title="pointing finger hand icon cursor" src="http://www.nerdgranny.com/wp-content/uploads/2008/11/finger-hand-icon-cursor.gif" alt="pointing finger hand icon cursor" width="150" height="177" />&lt; rarrr i wants taht fingerz!!</h4>
<p>Did you know that some people doesn&#8217;t click on your buttons just because they see the arrow pointer, and they only click when they see the finger pointer?</p>
<p>here&#8217;s a CSS valid for FF &amp; IE</p>
<blockquote><p><code>input.btn{<br />
cursor: pointer;<br />
cursor: hand;}</code></p></blockquote>
<p>here&#8217;s the HTML code for button styling</p>
<blockquote><p><code>&lt;input name="name" id="id" class="btn" value="value" type="submit" /&gt;</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdgranny.com/show-the-finger-on-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5</title>
		<link>http://www.nerdgranny.com/wordpress-25/</link>
		<comments>http://www.nerdgranny.com/wordpress-25/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 13:49:05 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[xhtml + css = love]]></category>

		<guid isPermaLink="false">http://www.nerdgranny.com/wordpress-25/</guid>
		<description><![CDATA[it&#8217;s finally out wordpress 2.5
even though I did not need this updrade, I did it because I love everything Matt does.
Template of the day
design alternative theme
Plugin of the day
Iphone wordpress&#8230;]]></description>
			<content:encoded><![CDATA[<p>it&#8217;s finally out <a href="http://wordpress.org/download/">wordpress 2.5</a></p>
<p>even though I did not need this updrade, I did it because I love everything Matt does.</p>
<p><strong>Template of the day</strong></p>
<blockquote><p><a href="http://www.futurosity.com/sandbox/">design alternative theme</a></p></blockquote>
<p><strong>Plugin of the day</strong></p>
<blockquote><p><a href="http://wordpress.org/extend/plugins/mobileadmin/screenshots/">Iphone wordpress admin  </a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdgranny.com/wordpress-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

