<?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>iTopiaBlog &#187; CSS</title>
	<atom:link href="http://blog.itopia.de/category/programmierung/css/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.itopia.de</link>
	<description>liVe iN oRder tO lEArN</description>
	<lastBuildDate>Thu, 26 Jan 2012 16:41:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Symfony: Instruct browser to refresh CSS and JS files</title>
		<link>http://blog.itopia.de/symfony-instruct-browser-to-refresh-css-and-js-files/339</link>
		<comments>http://blog.itopia.de/symfony-instruct-browser-to-refresh-css-and-js-files/339#comments</comments>
		<pubDate>Fri, 13 May 2011 13:31:30 +0000</pubDate>
		<dc:creator>TBA</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://blog.itopia.de/?p=339</guid>
		<description><![CDATA[In Symfony the stylesheets and javascript files are defined in the view.yml. Sometimes the problem appears that the browsers cache<a href="http://blog.itopia.de/symfony-instruct-browser-to-refresh-css-and-js-files/339" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>In Symfony the stylesheets and javascript files are defined in the <strong><em>view.yml</em></strong>. Sometimes the problem appears that the browsers cache these files, even if there where some changes in the last release without refreshing the new contents.</p>
<p>There is a common technique to instruct the browser to take the new file version: Browsers store different file versions for different GET paramters. So if you include a CSS file like this:</p>
<pre class="brush:xml">&lt;script type="text/javascript" src="css/styles.css?v=21"&gt;&lt;/script&gt;</pre>
<p>and in the next version with a higher version number (v=22), the browser will use  (and cache) the newer version.</p>
<p>In our case we save the current version number (SVN) into the <em><strong>app.yml</strong></em> and we use this number as increasing GET-Parameter to force a cache refresh:</p>
<pre class="brush:plain">default:
  stylesheets: [styles.css?v=&lt;?php echo sfConfig::get('app_revision'); ?&gt;]</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.itopia.de/symfony-instruct-browser-to-refresh-css-and-js-files/339/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: float soll nur innerhalb eines div bestehen</title>
		<link>http://blog.itopia.de/css-float-soll-nur-innerhalb-eines-div-bestehen/86</link>
		<comments>http://blog.itopia.de/css-float-soll-nur-innerhalb-eines-div-bestehen/86#comments</comments>
		<pubDate>Wed, 07 Mar 2007 16:30:26 +0000</pubDate>
		<dc:creator>TBA</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Weblog]]></category>
		<category><![CDATA[float]]></category>

		<guid isPermaLink="false">http://blog.itopia.de/?p=86</guid>
		<description><![CDATA[Ich hatte das Problem, dass sich ein float: left in einem div fÃ¼r eine horizontale Liste sich blÃ¶derweise auch Ã¼ber<a href="http://blog.itopia.de/css-float-soll-nur-innerhalb-eines-div-bestehen/86" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>Ich hatte das Problem, dass sich ein <strong><em>float: left</em></strong> in einem <strong><em>div</em></strong> fÃ¼r eine horizontale Liste sich<br />
blÃ¶derweise auch Ã¼ber das div hinaus auswirkte, was zur Folge hatte, dass alles was nach dem div kam weiterhin um das letzte Listenelement floss.</p>
<p>Nach langem Suchen fand ich die sehr einfache LÃ¶sung im Netz:<br />
Man kann alle floats beenden in dem man am Ende einfach folgendes eingibt:</p>
<blockquote><p>&lt;br clear=&#8221;all&#8221; /&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.itopia.de/css-float-soll-nur-innerhalb-eines-div-bestehen/86/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formular ohne Tabelle</title>
		<link>http://blog.itopia.de/formular-ohne-tabelle/84</link>
		<comments>http://blog.itopia.de/formular-ohne-tabelle/84#comments</comments>
		<pubDate>Sun, 04 Mar 2007 13:36:46 +0000</pubDate>
		<dc:creator>TBA</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Weblog]]></category>

		<guid isPermaLink="false">http://blog.itopia.de/?p=84</guid>
		<description><![CDATA[Da man Tabellen eigentlich nicht zum Layouten verwenden sollte bietet es sich auch aus semantischen GrÃ¼nden an, dementsprechende alternative HTML-Tags<a href="http://blog.itopia.de/formular-ohne-tabelle/84" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>Da man Tabellen eigentlich nicht zum Layouten verwenden sollte bietet es sich auch aus semantischen GrÃ¼nden an, dementsprechende alternative HTML-Tags fÃ¼r ein Formular-Layout zu verwenden.</p>
<p>Hier ein kleines Beispiel:</p>
<p>[syntax,cssform.html,html]</p>
<p>Mit <strong>fieldset</strong> kann man zusammengehÃ¶rige Bereiche zusammenfassen.<br />
Die <strong>Liste (ol)</strong> sorgt fÃ¼r eine logische Ordnung der Formularelemente</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itopia.de/formular-ohne-tabelle/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

