<?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>Schnipsel - Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery &#187; CSS</title>
	<atom:link href="http://schnipsel.davidhellmann.com/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://schnipsel.davidhellmann.com</link>
	<description>Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery</description>
	<lastBuildDate>Tue, 08 Mar 2011 00:20:33 +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>CSS &#8211; mit wenig Klassen auskommen</title>
		<link>http://schnipsel.davidhellmann.com/css/css-mit-wenig-klassen-auskommen/67</link>
		<comments>http://schnipsel.davidhellmann.com/css/css-mit-wenig-klassen-auskommen/67#comments</comments>
		<pubDate>Wed, 08 Jul 2009 08:13:23 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=67</guid>
		<description><![CDATA[Wenn man sein CSS gut schreibt dann kann man sich viele klasse sparen. Wenn man zum Beispiel verschiende Abs&#228;tze- oder Headlineformatierungen haben m&#246;chte kann man &#252;ber das Elternelement leicht auf das Kind zugreifen und muss daf&#252;r nicht extra eine Klasse vergeben. Folgendes Beispiel soll das zeigen. Wir haben folgendes HTML 1 2 3 4 5 [...]]]></description>
			<content:encoded><![CDATA[<p>
Wenn man sein CSS gut schreibt dann kann man sich viele klasse sparen. Wenn man zum Beispiel verschiende Abs&#228;tze- oder Headlineformatierungen haben m&#246;chte kann man &#252;ber das Elternelement leicht auf das Kind zugreifen und muss daf&#252;r nicht extra eine Klasse vergeben. Folgendes Beispiel soll das zeigen.
</p>
<span id="more-67"></span>
<h3>Wir haben folgendes HTML</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;content&quot;&gt;
	&lt;!-- Sticky Post --&gt;
	&lt;div class=&quot;stickypost&quot;&gt;
		&lt;h2&gt;Headline for sticky Post here&lt;/h2&gt;
		&lt;p&gt;
			Content here
		&lt;/p&gt;
	&lt;/div&gt;
&nbsp;
	&lt;!-- Normal Post --&gt;
	&lt;div class=&quot;post&quot;&gt;
		&lt;h2&gt;Headline for normal Post here&lt;/h2&gt;
		&lt;p&gt;
			Content here
		&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>



<h3>Dazu folgendes CSS</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#content</span> <span style="color: #6666ff;">.stickypost</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#content</span> <span style="color: #6666ff;">.post</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">500px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">dotted</span> <span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span>	<span style="color: #00AA00;">;</span>
	etc...	
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.stickypost</span> h2<span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.post</span> h2 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span> <span style="color: #933;">18px</span>/<span style="color: #933;">23px</span> Arial<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span>
	etc...
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.stickypost</span> h2 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#d40000</span><span style="color: #00AA00;">;</span>
	etc...
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.stickypost</span> p<span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.post</span> p <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span> <span style="color: #933;">13px</span>/<span style="color: #933;">18px</span> Arial<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#444</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	etc...
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.stickypost</span> p <span style="color: #00AA00;">&#123;</span>	
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span> <span style="color: #933;">15px</span>/<span style="color: #933;">20px</span> Arial<span style="color: #00AA00;">;</span>
	etc...
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>



<h3>Ergebnis</h3>
<p>
Man hat ohne irgendwelche Klassen zu vergeben trotzdem genug Einfluss auf die Elemente. 
</p>]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/css-mit-wenig-klassen-auskommen/67/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Clearfix &#8211; Das einschlie&#223;en von Floats</title>
		<link>http://schnipsel.davidhellmann.com/css/clearfix-das-einschliessen-von-floats/52</link>
		<comments>http://schnipsel.davidhellmann.com/css/clearfix-das-einschliessen-von-floats/52#comments</comments>
		<pubDate>Sun, 24 May 2009 01:39:39 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=52</guid>
		<description><![CDATA[Ein gutes Beispiel w&#228;re folgendes: Man erstellt eine Seite wo der Inhalt zentriert sein soll. Das ganze passiert mittels "margin: 0 auto"; Ein Float kann man hier nicht hinzuf&#252;gen da sonst der Container nicht mehr mittig ist. Problem ist jetzt aber wenn der Container zum Beispiel eine Hintergrundfarbe h&#228;tte und in dem Container jetzt ein [...]]]></description>
			<content:encoded><![CDATA[<p>
Ein gutes Beispiel w&#228;re folgendes: Man erstellt eine Seite wo der Inhalt zentriert sein soll. Das ganze passiert mittels "<strong>margin: 0 auto</strong>"; Ein Float kann man hier nicht hinzuf&#252;gen da sonst der Container nicht mehr mittig ist. Problem ist jetzt aber wenn der Container zum Beispiel eine Hintergrundfarbe h&#228;tte und in dem Container jetzt ein weiterer w&#228;re der "<strong>float:left</strong>" h&#228;tte und der Inhalt diesen w&#228;re h&#246;her als der Container in dem ersteckt w&#252;rde er nicht mehr eingeschlossen sein. Das f&#252;hrt dazu das der gefloatete Container &#252;ber den anderen dr&#252;ber geht und das nicht wirklich gut ist :) Hier kommt "<strong>clearfix</strong>" zum Einsatz.
</p>
<span id="more-52"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Clearfix */</span>
<span style="color: #6666ff;">.clearfix</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* Clearfix Patches für den IE */</span>
<span style="color: #6666ff;">.clearfix</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Vor IE5/Mac verstecken mit dem Commented Backslash Hack \*/</span>
<span style="color: #00AA00;">*</span> html <span style="color: #6666ff;">.clearfix</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.clearfix</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* Ende des Versteckspiels für den IE5/Mac */</span></pre></td></tr></table></div>



<p>
Das einfach in die CSS File und dem Container der die Seite zentriert ein "<strong>class="clearfix"</strong>" mitgeben und schon umschlie&#223;t der Container den gefloateten wieder vollkommen. Die class kann man dann nat&#252;rlich auf viele Sachen anwenden innerhalb der Seite und ist deswegen eine ganz gute M&#246;glichkeit. Wenn ich ehrlich bin hab ich diese Methode bisher aber fast noch nicht genutzt da ich eh immer fast alles floate. Sollte ich aber vielleicht &#246;fters mal tun. Ist einfach und effektiv.
</p>]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/clearfix-das-einschliessen-von-floats/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firebug Lite einbinden</title>
		<link>http://schnipsel.davidhellmann.com/css/firebug-lite-einbinden/48</link>
		<comments>http://schnipsel.davidhellmann.com/css/firebug-lite-einbinden/48#comments</comments>
		<pubDate>Thu, 21 May 2009 14:09:19 +0000</pubDate>
		<dc:creator>Thomas Aull</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=48</guid>
		<description><![CDATA[Firebug ist das Webentwicklertool f&#252;r den Firefox. Leider kommt es aber dann und wann vor, dass manche Probleme nur in anderen Browsern auftreten, zum Beispiel im geliebten Internet Explorer. F&#252;r diesen Zweck gibt es Firebug Lite, eine abgespeckte, auf JavaScript basierende Version von Firebug. Das ganze kann man so in seine Seite einbinden und dann [...]]]></description>
			<content:encoded><![CDATA[<p>Firebug ist das Webentwicklertool f&#252;r den Firefox. Leider kommt es aber dann und wann vor, dass manche Probleme nur in anderen Browsern auftreten, zum Beispiel im geliebten Internet Explorer. F&#252;r diesen Zweck gibt es Firebug Lite, eine abgespeckte, auf JavaScript basierende Version von Firebug. Das ganze kann man so in seine Seite einbinden und dann direkt lostesten.</p>

<span id="more-48"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot; src=&quot;https://getfirebug.com/firebug-lite.js&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/firebug-lite-einbinden/48/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Simlper CSS Reset</title>
		<link>http://schnipsel.davidhellmann.com/css/simlper-css-reset/32</link>
		<comments>http://schnipsel.davidhellmann.com/css/simlper-css-reset/32#comments</comments>
		<pubDate>Mon, 11 May 2009 15:59:12 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Reset]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=32</guid>
		<description><![CDATA[Es macht Sinn ein paar Sachen in einer neuen CSS Datei zu resetten. Aber nicht jedes Element einzeln sondern einfach ein paar grundlegende Dinge. 1 2 3 4 5 6 7 * &#123; list-style-type: none; margin: 0; padding: 0; text-decoration: none; font-weight:normal; &#125;]]></description>
			<content:encoded><![CDATA[<p>
Es macht Sinn ein paar Sachen in einer neuen CSS Datei zu resetten. Aber nicht jedes Element einzeln sondern einfach ein paar grundlegende Dinge.
</p>
<span id="more-32"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">*</span> <span style="color: #009900;">&#123;</span>
	list<span style="color: #339933;">-</span>style<span style="color: #339933;">-</span>type<span style="color: #339933;">:</span> none<span style="color: #339933;">;</span>
	margin<span style="color: #339933;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
	padding<span style="color: #339933;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
	text<span style="color: #339933;">-</span>decoration<span style="color: #339933;">:</span> none<span style="color: #339933;">;</span>
	font<span style="color: #339933;">-</span>weight<span style="color: #339933;">:</span>normal<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/simlper-css-reset/32/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>CSS Background Kurzschreibweise</title>
		<link>http://schnipsel.davidhellmann.com/css/css-background-kurzschreibweise/24</link>
		<comments>http://schnipsel.davidhellmann.com/css/css-background-kurzschreibweise/24#comments</comments>
		<pubDate>Sat, 25 Apr 2009 08:18:17 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Kurzschreibweise]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=24</guid>
		<description><![CDATA[Background formatierung mit nur einer Zeile. 1 2 3 4 5 6 7 .background-kurz &#123; background:#000 url&#40;images/background.jpg&#41; 0px 0px fixed repeat; /* statt #000 (Farben) kann man auch: transparent nutzen. statt pixel angaben kann man auch: left, bottom, top, center, right nutzen. statt fixed w&#228;re auch scroll m&#246;glich oder weglassen statt repeat w&#228;re auch no-repeat, [...]]]></description>
			<content:encoded><![CDATA[<p>
Background formatierung mit nur einer Zeile.
</p>
<span id="more-24"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.background-kurz</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/background.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #993333;">fixed</span> <span style="color: #993333;">repeat</span><span style="color: #00AA00;">;</span>
	<span style="color: #808080; font-style: italic;">/* statt #000 (Farben) kann man auch: transparent nutzen.
	    statt pixel angaben kann man auch: left, bottom, top, center, right nutzen.
	    statt fixed wäre auch scroll möglich oder weglassen
	    statt repeat wäre auch no-repeat, repeat-x oder repeat-y möglich */</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/css-background-kurzschreibweise/24/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linkrahmen entfernen</title>
		<link>http://schnipsel.davidhellmann.com/css/linkrahmen-entfernen/20</link>
		<comments>http://schnipsel.davidhellmann.com/css/linkrahmen-entfernen/20#comments</comments>
		<pubDate>Thu, 23 Apr 2009 14:51:32 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Focus]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=20</guid>
		<description><![CDATA[Ganz einfach den gepunkteten Rahmen entfernen der auftaucht wenn man Links anklickt. 1 2 3 4 5 6 7 8 9 10 11 12 /** HIDING FOCUSRING */ a:active, a &#123; outline: none; &#125; &#160; :focus &#123; -moz-outline-style: none; &#125; &#160; :-moz-any-link:focus &#123; outline: none; &#125;]]></description>
			<content:encoded><![CDATA[<p>
Ganz einfach den gepunkteten Rahmen entfernen der auftaucht wenn man Links anklickt.
</p>
<span id="more-20"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/** HIDING FOCUSRING */</span>
a<span style="color: #3333ff;">:active</span><span style="color: #00AA00;">,</span> a <span style="color: #00AA00;">&#123;</span> 
	<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #3333ff;">:focus </span><span style="color: #00AA00;">&#123;</span> 
	-moz-<span style="color: #000000; font-weight: bold;">outline-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #3333ff;">:-moz-any-link</span><span style="color: #3333ff;">:focus </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/linkrahmen-entfernen/20/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CSS Font Kurzschreibweise</title>
		<link>http://schnipsel.davidhellmann.com/css/css-font-kurzschreibweise/18</link>
		<comments>http://schnipsel.davidhellmann.com/css/css-font-kurzschreibweise/18#comments</comments>
		<pubDate>Wed, 22 Apr 2009 11:50:43 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Kurzschreibweise]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=18</guid>
		<description><![CDATA[Schriftformatierung mit nur einer Zeile. 1 2 3 .font-kurz &#123; font:bold 18px/25px Georgia, &#34;Times New Roman&#34;, Times, serif; &#125;]]></description>
			<content:encoded><![CDATA[<p>
Schriftformatierung mit nur einer Zeile.
</p>
<span id="more-18"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.font-kurz</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span> <span style="color: #933;">18px</span>/<span style="color: #933;">25px</span> Georgia<span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/css-font-kurzschreibweise/18/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Font Families</title>
		<link>http://schnipsel.davidhellmann.com/css/css-font-families/16</link>
		<comments>http://schnipsel.davidhellmann.com/css/css-font-families/16#comments</comments>
		<pubDate>Wed, 22 Apr 2009 10:47:43 +0000</pubDate>
		<dc:creator>David Hellmann</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fonts]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=16</guid>
		<description><![CDATA[Ein paar Font Families. Verdana 1 2 3 .verdana &#123; font-family:Verdana, Geneva, sans-serif; &#125; Georgia 1 2 3 .georgia &#123; font-family:Georgia, &#34;Times New Roman&#34;, Times, serif; &#125; Courier New 1 2 3 .courier-new &#123; font-family:&#34;Courier New&#34;, Courier, monospace; &#125; Arial 1 2 3 .arial &#123; font-family:Arial, Helvetica, sans-serif; &#125; Arial Black 1 2 3 .arial-black [...]]]></description>
			<content:encoded><![CDATA[<p>
Ein paar Font Families.
</p>
<span id="more-16"></span>

<h3>Verdana</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.verdana</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Verdana</span><span style="color: #00AA00;">,</span> Geneva<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Georgia</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.georgia</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Georgia</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Courier New</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.courier-new</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Courier New&quot;</span><span style="color: #00AA00;">,</span> Courier<span style="color: #00AA00;">,</span> <span style="color: #993333;">monospace</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Arial</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.arial</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Arial Black</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">.arial-<span style="color: #000000; font-weight: bold;">black</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Arial Black&quot;</span><span style="color: #00AA00;">,</span> Gadget<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Tahoma</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.tahoma</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Tahoma</span><span style="color: #00AA00;">,</span> Geneva<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Trebuchet MS</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.trebuchet-ms</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Trebuchet MS&quot;</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Times New Roman</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.times-new</span> roman <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Palatino Linotype</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.palatino-linotype</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Palatino Linotype&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Book Antiqua&quot;</span><span style="color: #00AA00;">,</span> Palatino<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Lucida Sans Unicode</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.lucida-sans-unicode</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Lucida Sans Unicode&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Lucida Grande&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Lucida Console</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.lucida-console</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Lucida Console&quot;</span><span style="color: #00AA00;">,</span> Monaco<span style="color: #00AA00;">,</span> <span style="color: #993333;">monospace</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>MS Serif</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">.ms-<span style="color: #993333;">serif</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;MS Serif&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;New York&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>




<h3>Comic Sans MS</h3>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.comic-sans-ms</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Comic Sans MS&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">cursive</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/css/css-font-families/16/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

