<?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>webventil &#187; CSS</title>
	<atom:link href="http://webventil.de/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://webventil.de</link>
	<description>Wissenswertes rund um Webtechnologien und Grafikdesign.</description>
	<lastBuildDate>Mon, 14 Mar 2011 17:19:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Velocity 2010: Nicole Sullivan, &#8220;The Top 5 Mistakes of Massive CSS&#8221;</title>
		<link>http://webventil.de/2010/08/06/velocity-2010-nicole-sullivan-the-top-5-mistakes-of-massive-css/</link>
		<comments>http://webventil.de/2010/08/06/velocity-2010-nicole-sullivan-the-top-5-mistakes-of-massive-css/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 08:12:11 +0000</pubDate>
		<dc:creator>Arne</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Massive CSS]]></category>
		<category><![CDATA[Top 5 Mistakes]]></category>

		<guid isPermaLink="false">http://webventil.de/?p=470</guid>
		<description><![CDATA[

Ich habe ein sehr interessantes YouTube Video entdeckt über die Top 5 Fehler beim Gebrach von CSS. Nicole Sullivan gibt dabei viele anschauliche Beispiele.]]></description>
			<content:encoded><![CDATA[<p class="wp-flattr-button"></p><p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/j6sAm7CLoCQ&amp;hl=de_DE&amp;fs=1?hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/j6sAm7CLoCQ&amp;hl=de_DE&amp;fs=1?hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Ich habe ein sehr interessantes YouTube Video entdeckt über die Top 5 Fehler beim Gebrach von CSS. Nicole Sullivan gibt dabei viele anschauliche Beispiele.</p>
 <img src="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=470" width="1" height="1" style="display: none;" /> <p><a href="http://webventil.de/?flattrss_redirect&amp;id=470&amp;md5=eae6a9277c5c9faca530616aabe1de86" title="Flattr" target="_blank"><img src="http://webventil.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://webventil.de/2010/08/06/velocity-2010-nicole-sullivan-the-top-5-mistakes-of-massive-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajaxifizierte Formulare mit jQuery Teil2</title>
		<link>http://webventil.de/2009/05/05/ajaxifizierte-formulare-mit-jquery-teil2/</link>
		<comments>http://webventil.de/2009/05/05/ajaxifizierte-formulare-mit-jquery-teil2/#comments</comments>
		<pubDate>Tue, 05 May 2009 08:19:33 +0000</pubDate>
		<dc:creator>Arne</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Formular]]></category>
		<category><![CDATA[Rounded Corners]]></category>

		<guid isPermaLink="false">http://webventil.de/?p=314</guid>
		<description><![CDATA[

Kümmern wir uns nun um das "stylen" des Formulars. Mit Hilfe von CSS lassen sich HTML Elemente einfach modifizieren. Dazu erstellen wir uns erst einmal eine css Datei. Ich habe sie style.css genannt und in das selbe Verzeichnis abgelegt.

Eingebunden ...]]></description>
			<content:encoded><![CDATA[<p class="wp-flattr-button"></p><p><a href="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYnZlbnRpbC5kZS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wNS9mb3JtdWxhci5wbmc="><img class="alignnone size-full wp-image-325" title="formular" src="http://webventil.de/wp-content/uploads/2009/05/formular.png" alt="formular" width="423" height="238" /></a></p>
<p>Kümmern wir uns nun um das &#8220;stylen&#8221; des Formulars. Mit Hilfe von CSS lassen sich HTML Elemente einfach modifizieren. Dazu erstellen wir uns erst einmal eine css Datei. Ich habe sie style.css genannt und in das selbe Verzeichnis abgelegt.</p>
<p>Eingebunden wird die Datei im head Bereich unserer <em>formular.php</em> mit dem Befehl:</p>
<pre class="brush: html">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; /&gt;
</pre>
<p><span id="more-314"></span></p>
<p>Die von mir verwendete CSS Datei hat folgenden Inhalt:</p>
<pre class="brush: css">

body, * {
margin: 2px;
padding: 0;
}

body {
font-family: verdana,arial,sans-serif;
font-size: 12px;
}

label {
font-weight:bold;
color: #000000;
}

#formular {
border:#333333 1px solid;
background-color: #e4e3e3;
margin: 10px;
padding: 5px;
width: 400px;
}

.fehler {
font-weight:bold;
color:red;
display:inline;
}
</pre>
<p>Wozu die einzelnen Elemente verwendet werden, sehen wir später. Des weiteren habe ich mich entschlossen, das jQuery Plugin &#8220;<em>jQuery Corners</em>&#8221; zu benutzen. Nicht, weil es nötig ist, aber abegrundete Ecken find ich einfach schön. Runterladen kann man das <a href="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3BsdWdpbnMuanF1ZXJ5LmNvbS9wcm9qZWN0L2Nvcm5lcnM=" target=\"_blank\">hier</a>. Bitte die Datei jquery.corners.js auch in dem Ordner speichern und in <em>formualr.php</em> einbinden.</p>
<pre class="brush: html">
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.corners.js&quot;&gt;&lt;/script&gt;
</pre>
<p>Um das Script verwenden zu können brauchen wir noch einen Adressaten. Also fügen wir um unser Formualar ein div Tag ein.</p>
<pre class="brush: html">

&lt;div id=&quot;formular&quot;&gt;

&lt;!-- Hier steht  das Formular --&gt;

&lt;/div&gt;
</pre>
<p>Desweitern müssen wir unser kleines jQuery Plugin nun noch um die folgenden zwei Zeilen verwenden.</p>
<pre class="brush: html">

$(&#039;#formular&#039;).corners(&quot;5px&quot;);
$(&quot;.button&quot;).click(function(event)
</pre>
<p>Dieses geschieht direkt nach<em> $(document).ready(function() {</em>.  Eine Kleinigkeit können wir nun noch ergänzen. Wenn das Formular als richtig gilt, dann möchten wir die Hintergrundfarbe unserer div Box ändern. Dazu können wir einfach in den <em>if(error == false) {</em> Bock noch eine Manipulation des Styles von <em>#formular</em> vornehmen.</p>
<pre class="brush: html">
$(&quot;#formular&quot;).css(&quot;background-color&quot;, &quot;#fffebd&quot;);
</pre>
<p>Möchten wir nun noch eine Mehrfachabsendung verhindern, löschen wir jetzt einfach noch die eingegebenen, abgesendeten Werte.</p>
<pre class="brush: html">

$(&quot;#Name&quot;).val(&quot;&quot;);
$(&quot;#Email&quot;).val(&quot;&quot;);
$(&quot;#Nachricht&quot;).val(&quot;&quot;);
</pre>
<h3><a href="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYnZlbnRpbC5kZS9kZW1vL2pRdWVyeUZvcm0vZm9ybXVsYXIucGhw">Hier</a> gibts das ganze als Demo und <a href="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYnZlbnRpbC5kZS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wNS9qcWZvcm10YXIuZ3o=">hier</a> zum Download.</h3>
 <img src="http://webventil.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=314" width="1" height="1" style="display: none;" /> <p><a href="http://webventil.de/?flattrss_redirect&amp;id=314&amp;md5=265c65d6b7f9926a4bb734580ef81742" title="Flattr" target="_blank"><img src="http://webventil.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://webventil.de/2009/05/05/ajaxifizierte-formulare-mit-jquery-teil2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

