<?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"
	>

<channel>
	<title>Knowtebook - Webworkers Daily Milk &#187; css</title>
	<atom:link href="http://www.knowtebook.com/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.knowtebook.com</link>
	<description>A community dedicated to web-developers and designers.</description>
	<pubDate>Fri, 25 Jul 2008 16:57:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=9</generator>
	<language>en</language>
			<item>
		<title>Brilliant Ways to Style Blockquotes</title>
		<link>http://www.knowtebook.com/brilliant-ways-to-style-blockquotes-1128.htm</link>
		<comments>http://www.knowtebook.com/brilliant-ways-to-style-blockquotes-1128.htm#comments</comments>
		<pubDate>Mon, 21 Jul 2008 17:42:17 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[Inspiration]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[ideas]]></category>

		<category><![CDATA[trends]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=1128</guid>
		<description><![CDATA[The blockquote XHTML tag is a fairly useful (if somewhat underused) element. Semantically speaking, a blockquote should be used any time you’re quoting a longer piece of text from another source – another speaker, another website, whatever. It’s a way (...)]]></description>
			<content:encoded><![CDATA[<p>The <strong>blockquote XHTML tag</strong> is a fairly useful (if somewhat underused) element. Semantically speaking, a blockquote should be used any time you’re quoting a longer piece of text from another source – another speaker, another website, whatever. It’s a way of setting the text apart, and showing that it came from some other source. Stylistically, you could accomplish all this with a special class on your paragraph tags… but that wouldn’t be as semantically useful, now, would it?</p>
<p><a href="http://www.smileycat.com/design_elements/pull_quotes/" target="_blank"><img class="alignnone size-full wp-image-1130" title="diablo3" src="http://www.knowtebook.com/uploaded/2008/07/diablo3.gif" alt="diablo3 Brilliant Ways to Style Blockquotes" width="349" height="231" /></a></p>
<p><span id="more-1128"></span></p>
<p>Blockquotes do have some styling by default. Most browsers will indent the text in a blockquote tag, which helps the user recognize that the text is different somehow. But who’s to say that we need to stop there? Here are <a href="http://www.cssnewbie.com/six-ways-style-blockquotes/" target="_blank">six different ways you could style your blockquotes using CSS</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/brilliant-ways-to-style-blockquotes-1128.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS Freedom - Redesign HTML Form Elements As You Like</title>
		<link>http://www.knowtebook.com/css-freedom-redesign-html-form-elements-as-you-like-1076.htm</link>
		<comments>http://www.knowtebook.com/css-freedom-redesign-html-form-elements-as-you-like-1076.htm#comments</comments>
		<pubDate>Sat, 28 Jun 2008 13:20:52 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[forms]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=1076</guid>
		<description><![CDATA[Ryan Fait presents a method to customize the booring html form elements with css and a little javascript to that you have always dreamed of. It will allow you to use custom images for checkboxes, radio buttons and select lists.

The (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/" target="_blank">Ryan Fait</a> presents a method to customize the booring html form elements with css and a little javascript to that you have always dreamed of. It will allow you to <strong>use custom images</strong> for <strong>checkboxes</strong>, <strong>radio buttons</strong> and <strong>select lists</strong>.</p>
<p><a href="http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/" target="_blank"><img class="alignnone size-full wp-image-1077" title="custom-form-elements" src="http://www.knowtebook.com/uploaded/2008/06/custom-form-elements.gif" alt="custom-form-elements CSS Freedom - Redesign HTML Form Elements As You Like" width="500" height="255" /></a><span id="more-1076"></span></p>
<p>The unobtrusive script gracefully degrades, so if JavaScript is disabled, normal form input objects appear instead of your customized elements. This works flawlessly in Firefox, Safari, Internet Explorer 7, Opera and others. In Internet Explorer, the select lists are unstyled, but the checkboxes and radio buttons still look and function beautifully. Check out the <a href="http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/example/" target="_blank">demo</a>.</p>
<p>The technology is pretty similar to that was used on our <a href="http://www.mediaplana.com/angebot/" target="_blank">mediaplana contact</a> site called <a href="http://www.badboy.ro/articles/2007-01-30/niceforms/" target="_blank">niceforms</a> (<a href="http://www.badboy.ro/assets/articles/niceforms1.0/niceforms.html" target="_blank">demo here</a>) by badboy. An example is shown below.<br />
<a href="http://www.mediaplana.com/angebot/" target="_blank"><img class="alignnone size-full wp-image-1078" title="custom-form-elements-mediaplana" src="http://www.knowtebook.com/uploaded/2008/06/custom-form-elements-mediaplana.gif" alt="custom-form-elements-mediaplana CSS Freedom - Redesign HTML Form Elements As You Like" width="500" height="473" /></a></p>
<p>If you have a good example for awesome looking forms, please let us know and post it as a comment.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-freedom-redesign-html-form-elements-as-you-like-1076.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS: 7 Free Perfect Multi-column Liquid Layouts</title>
		<link>http://www.knowtebook.com/css-7-free-perfect-multi-column-liquid-layouts-1074.htm</link>
		<comments>http://www.knowtebook.com/css-7-free-perfect-multi-column-liquid-layouts-1074.htm#comments</comments>
		<pubDate>Thu, 26 Jun 2008 13:51:07 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[layout]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=1074</guid>
		<description><![CDATA[This series of website layouts use percentage widths and relative positioning, and they work with all the common web browsers including Safari on the iPhone and iPod touch. They&#8217;re also &#8217;stackable&#8217; so you can use multiple column types on the (...)]]></description>
			<content:encoded><![CDATA[<p>This series of website layouts use percentage widths and relative positioning, and they work with all the common web browsers including Safari on the <strong>iPhone and iPod</strong> touch. They&#8217;re also &#8217;stackable&#8217; so you can use multiple column types on the one page. This makes the number of possible layouts endless! Follow the links below for the demos and more detailed info:</p>
<h2>The main features</h2>
<ul>
<li><strong>No CSS hacks</strong></li>
<li><strong>iPhone &amp; iPod Touch compatible</strong></li>
<li><strong>SEO friendly</strong></li>
<li><strong>Full length column background colours</strong></li>
<li><strong>No Images</strong></li>
<li><strong>No JavaScript</strong></li>
<li><strong>Resizable text compatible</strong></li>
<li><strong>Stackable columns</strong></li>
<li><strong>FREE for anyone to use</strong></li>
</ul>
<h2>Examples</h2>
<p><a href="http://matthewjamestaylor.com/blog/perfect-multi-column-liquid-layouts" target="_blank"><img src="http://matthewjamestaylor.com/blog/perfect-stacked-columns.gif" alt="perfect-stacked-columns CSS: 7 Free Perfect Multi-column Liquid Layouts" width="100" height="100" title="Perfect Stacked Columns Css: 7 Free Perfect Multi Column Liquid Layouts" /> <img src="http://matthewjamestaylor.com/blog/perfect-blog-style.gif" alt="perfect-blog-style CSS: 7 Free Perfect Multi-column Liquid Layouts" width="100" height="100" title="Perfect Blog Style Css: 7 Free Perfect Multi Column Liquid Layouts" /> <img src="http://matthewjamestaylor.com/blog/perfect-double-page.gif" alt="perfect-double-page CSS: 7 Free Perfect Multi-column Liquid Layouts" width="100" height="100" title="Perfect Double Page Css: 7 Free Perfect Multi Column Liquid Layouts" /></a></p>
<p><span id="more-1074"></span></p>
<p>There are also other interesting solutions like the german <a href="http://www.intensivstation.ch/en/templates/" target="_blank">intensivstation </a>provide. It includes a box modell which is horizontally and vertically centered for example.</p>
<p><img src="http://www.intensivstation.ch/files/images/layout/layout_11.gif" alt="layout_11 CSS: 7 Free Perfect Multi-column Liquid Layouts" width="106" height="68" title="Layout 11 Css: 7 Free Perfect Multi Column Liquid Layouts" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-7-free-perfect-multi-column-liquid-layouts-1074.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS Support in Email Clients For Newsletters and More</title>
		<link>http://www.knowtebook.com/css-support-in-email-clients-for-newsletters-and-more-1051.htm</link>
		<comments>http://www.knowtebook.com/css-support-in-email-clients-for-newsletters-and-more-1051.htm#comments</comments>
		<pubDate>Sat, 14 Jun 2008 17:00:03 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[email]]></category>

		<category><![CDATA[newsletter]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=1051</guid>
		<description><![CDATA[Designing an HTML email that renders consistently across the major email clients can be very time consuming. Support for even simple CSS varies considerably between clients, and even different versions of the same client.

CampaignMonitor has put together this CSS support (...)]]></description>
			<content:encoded><![CDATA[<p>Designing an HTML email that renders consistently across the major email clients can be very time consuming. Support for even simple CSS varies considerably between clients, and even different versions of the same client.</p>
<p><a href="http://www.knowtebook.com/uploaded/2008/06/css-email.png"><img class="alignnone size-full wp-image-1050" title="css-email" src="http://www.knowtebook.com/uploaded/2008/06/css-email.png" alt="css-email CSS Support in Email Clients For Newsletters and More" width="480" height="257" /></a></p>
<p>CampaignMonitor has put together this CSS support in email clients guide to save you the time and trouble of figuring it out for yourself. With 21 different sets of results, all the major email systems are covered, both desktop applications and webmail.</p>
<p>There is also a good article at sitepoint about <a href="http://www.sitepoint.com/article/code-html-email-newsletters" target="_blank">how to code html email newsletters.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-support-in-email-clients-for-newsletters-and-more-1051.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>Tools: Improve Site Performance By Combining Images</title>
		<link>http://www.knowtebook.com/tools-improve-site-performance-by-combining-images-1030.htm</link>
		<comments>http://www.knowtebook.com/tools-improve-site-performance-by-combining-images-1030.htm#comments</comments>
		<pubDate>Wed, 28 May 2008 20:51:55 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[Tools]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=1030</guid>
		<description><![CDATA[CSS sprites are a way to reduce the number of HTTP requests made for image resources referenced by your site. Images are combined into one larger image at defined X and Y coorindates. Having assigned this generated image to relevant (...)]]></description>
			<content:encoded><![CDATA[<p>CSS sprites are a way to reduce the number of HTTP requests made for image resources referenced by your site. Images are combined into one larger image at defined X and Y coorindates. Having assigned this generated image to relevant page elements the <code>background-position</code> CSS property can then be used to shift the visible area to the required component image.</p>
<p><a href="http://www.knowtebook.com/uploaded/2008/05/website-performance.gif"><img class="alignnone size-full wp-image-1029" title="website-performance" src="http://www.knowtebook.com/uploaded/2008/05/website-performance.gif" alt="website-performance Tools: Improve Site Performance By Combining Images" width="500" height="46" /></a></p>
<p>This technique can be very effective for improving site performance, particularly in situations where many small images, such as menu icons, are used. The <a href="http://www.yahoo.com/">Yahoo! home page</a>, for example, employs the technique for exactly this.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/tools-improve-site-performance-by-combining-images-1030.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>Inspiration: 8 Fonts you probably don’t use in css, but should</title>
		<link>http://www.knowtebook.com/inspiration-8-fonts-you-probably-dont-use-in-css-but-should-970.htm</link>
		<comments>http://www.knowtebook.com/inspiration-8-fonts-you-probably-dont-use-in-css-but-should-970.htm#comments</comments>
		<pubDate>Sat, 10 May 2008 09:20:25 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[Inspiration]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[fonts]]></category>

		<category><![CDATA[ideas]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=970</guid>
		<description><![CDATA[CSS has brought us many capabilities in terms of typography and the web, but we always seem to be limited to the same 4-5 typefaces over and over again. There is an inherant problem, if the font you specify isn’t (...)]]></description>
			<content:encoded><![CDATA[<p>CSS has brought us many capabilities in terms of typography and the web, but we always seem to be limited to the same 4-5 typefaces over and over again. There is an inherant problem, if the font you specify isn’t on the viewers computer it won’t render in that font. So as designers and developers we end up selecting the ones that we can safely assume is available on most computers today. So most pages use Arial, Helvetica, or Georgia as their typefaces… and the world of the web remains slightly more bland.</p>
<p><a href="http://www.knowtebook.com/uploaded/2008/05/8-different-fonts.gif"><img class="alignnone size-full wp-image-971" title="8-different-fonts" src="http://www.knowtebook.com/uploaded/2008/05/8-different-fonts.gif" alt="8-different-fonts Inspiration: 8 Fonts you probably don’t use in css, but should" width="434" height="139" /></a></p>
<p><span id="more-970"></span></p>
<p>But there are quite a few high quality typefaces that are available on most new computer systems and you can always fall back on the common ones. Of course there are options like creating images, dynamic headlines, and siFR… but all of these techniques increase load time and development time. There are plenty of good reasons to be strategic in the font choices rather than using additional technology. I am shocked at how rarely I see anyone taking advantage of these type options, so here is a quick and dirty list of fonts you should and could use in your desgns and stylesheets.</p>
<p>There also is a good guide to <a href="http://www.apaddedcell.com/web-fonts" target="_blank">Pre-Installed Fonts in Linux, Mac, and Windows</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/inspiration-8-fonts-you-probably-dont-use-in-css-but-should-970.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>Tutorial To Make Diagonal Lines in CSS</title>
		<link>http://www.knowtebook.com/tutorial-to-make-diagonal-lines-in-css-960.htm</link>
		<comments>http://www.knowtebook.com/tutorial-to-make-diagonal-lines-in-css-960.htm#comments</comments>
		<pubDate>Thu, 08 May 2008 10:00:49 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=960</guid>
		<description><![CDATA[Using css styling to substitute for an image, is an effective way for developing sites efficiently. Which not only saves time and bandwidth, but also allows more flexibility when adjusting designs.

By using a border technique, we can create the effect (...)]]></description>
			<content:encoded><![CDATA[<p>Using css styling to substitute for an image, is an effective way for developing sites efficiently. Which not only saves time and bandwidth, but also allows more flexibility when adjusting designs.</p>
<p><img src="http://fourshapes.com/img/attachments/diagonal-lines-in-css.gif" alt="diagonal-lines-in-css Tutorial To Make Diagonal Lines in CSS" width="200" height="60" title="Diagonal Lines In Css Tutorial To Make Diagonal Lines In Css" /></p>
<p>By using a border technique, we can create the effect of diagonal lines with some simple code.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/tutorial-to-make-diagonal-lines-in-css-960.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS: How To Hide Headlines For Better SEO Effects</title>
		<link>http://www.knowtebook.com/css-how-to-hide-headlines-for-better-seo-effects-930.htm</link>
		<comments>http://www.knowtebook.com/css-how-to-hide-headlines-for-better-seo-effects-930.htm#comments</comments>
		<pubDate>Sun, 27 Apr 2008 17:01:35 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[How-To]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[seo]]></category>

		<category><![CDATA[headlines]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=930</guid>
		<description><![CDATA[
SEO is a very sensible business and there are many ways which swear success, but most of them are pain for search engines. In this tutorial we will use headlines for reaching better results in search engines by using the (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.knowtebook.com/uploaded/2008/04/seo-optimsation-with-css.gif"><img class="alignleft alignnone size-full wp-image-932" style="float: left;" title="seo-optimsation-with-css" src="http://www.knowtebook.com/uploaded/2008/04/seo-optimsation-with-css.gif" alt="seo-optimsation-with-css CSS: How To Hide Headlines For Better SEO Effects" width="125" height="125" /></a></p>
<p>SEO is a very sensible business and there are many ways which swear success, but most of them are pain for search engines. In this tutorial we will use headlines for reaching better results in search engines by using the CSS text indent technology. There is also an german article about <a href="http://www.knowtebook.com/css-ueberschriften-durch-bilder-ersetzen-836.htm">image replacement by using CSS</a>.</p>
<p><span id="more-930"></span></p>
<p>First, take a look into the source code of Knowtebook and you will find in the beginning lines beneath the body tag following code:</p>
<pre>&lt;div id="header"&gt;

&lt;h1&gt; &lt;a href=http://www.knowtebook.com/"&gt;
Knowtebook - Knowtebook is a social open source community
dedicated to web-developers and designers.&lt;/a
&lt;/h1&gt;

&lt;/div&gt;</pre>
<p>The lines of code contains an H1 header-element with the title and the description of Knowtebook. The header is put into a div tag. So what&#8217;s so special about it? Well, try to find it on the front page!</p>
<p>Most techniques describe <a href="http://css-tricks.com/nine-techniques-for-css-image-replacement/" target="_blank">image-replacment</a> tricks which are complicated or are very known by search engines and can lead to be kicked out of their index, because of cheating with content. Knowtebook uses the &#8220;text-intend&#8221; CSS technology shown below:</p>
<pre>#header h1{
margin-top:10px;
margin-left: 0px;
background: url(i/logo-web-300px.gif) no-repeat;
float: left;
text-indent: -9999px
}</pre>
<p>The CSS code will take your headline and will place it outside of the screen, but will show a logo instead. This way you can use your H1 elements for your search engine optimation and your nice logo. We have had nice experiences with this technology - what are yours? Please give us your feedback below.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-how-to-hide-headlines-for-better-seo-effects-930.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS - Javascript: Dropdown-Men&#252;s mit Pfeil komplett formartieren</title>
		<link>http://www.knowtebook.com/css-javascript-dropdown-menues-mit-pfeil-komplett-formartieren-900.htm</link>
		<comments>http://www.knowtebook.com/css-javascript-dropdown-menues-mit-pfeil-komplett-formartieren-900.htm#comments</comments>
		<pubDate>Thu, 10 Apr 2008 11:07:07 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[coding]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[forms]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.knowtebook.com/?p=900</guid>
		<description><![CDATA[Nach langer Suche im Netz, um eine M&#246;glichkeit Dropdown-Men&#252;s wirkungsvoll in Szene zu setzen zu k&#246;nnen, kam ich immer nur auf die M&#246;glichkeiten zum Beispiel die Hintergrundfarben oder die Schrift anzupassen, wie folgendes Beispiel zeigt:
 (Quelle links: Webmaster Resource).
Trotz kleinerer (...)]]></description>
			<content:encoded><![CDATA[<p>Nach langer Suche im Netz, um eine M&#246;glichkeit Dropdown-Men&#252;s wirkungsvoll in Szene zu setzen zu k&#246;nnen, kam ich immer nur auf die M&#246;glichkeiten zum Beispiel die Hintergrundfarben oder die Schrift anzupassen, wie folgendes <a href="http://old.easy-designs.net/articles/replaceSelect/files/final.html">Beispiel</a> zeigt:</p>
<p><img id="teaser_portfolio_image" src="http://www.sebastianscheuer.de/uploads/2007/05/dropdown/beispiel.png" alt="Beispiel f&#252;r ein einfaches Dropdownmen&#252;" align="left" title="Beispiel Css   Javascript: Dropdown Menüs Mit Pfeil Komplett Formartieren" /> (Quelle links: <a href="http://www.webmaster-resource.de/tricks/css/dropdown-felder-formatieren.php">Webmaster Resource</a>).<br />
Trotz kleinerer Anpassungen bleibt der langweilige graue (bzw. hier blaue) Pfeil und bei l&#228;ngeren Men&#252;s kommen die unformartierbaren Scrollbalken.</p>
<p>Manchmal reicht dies jedoch nicht aus und gr&#246;&#223;ere Anpassungen m&#252;ssen gemacht werden. Und es ist m&#246;glich!!</p>
<p><img id="teaser_portfolio_image" src="http://www.sebastianscheuer.de/uploads/2007/05/dropdown/beispiel_final_dropdown.png" alt="Finales Beispiel f&#252;r ein komplett formatiertes Dropdownmen&#252;" title="Beispiel Final Dropdown Css   Javascript: Dropdown Menüs Mit Pfeil Komplett Formartieren" /></p>
<p><span id="more-900"></span></p>
<p>In meinen Archiven fand ich 2 Beitr&#228;ge aus dem Jahr 2005 die genau dies behandeln (<a href="http://easy-designs.net/articles/replaceSelect/">Select Something New, Part 1</a> und <a href="http://easy-designs.net/articles/replaceSelect2/">Select Something New, Part 2</a>). Leider scheint diese Art von Technik nicht weit verbreitet zu sein, so dass ich hierf&#252;r Werbung machen und neue (bzw. &#228;ltere) Gestaltungswege f&#252;r Formulare aufzeigen m&#246;chte.</p>
<p>F&#252;r diejenigen unter Euch die gleich loslegen wollen, hier der Code. Ihr m&#252;sst ihn nur noch an Eure Bed&#252;rfnisse anpassen.</p>
<h2>Select Replacement Test Form</h2>
<h3><strong>Header</strong></h3>
<pre> &lt;<span class="start-tag">style</span><span class="attribute-name"> type</span>=<span class="attribute-value">&#8220;text/css&#8221;</span>&gt;
body {
font: 80% &#8220;Trebuchet MS&#8221;, verdana, helvetica, arial, sans-serif;
}
input {
display: block;
margin: 0 0 10px;
border: 1px solid #666;
color: #999;
}
legend {
font-size: 1.2em;
font-weight: bold;
}
label {
display: block;
font-weight: bold;
color: #666;
}
select {
display: block;
width: 300px;
}
select.replaced {
display: none;
}
ul.selectReplacement {
background: url(top.jpg) top left no-repeat;
margin: 0;
padding: 0;
height: 1.65em;
width: 300px;
}
ul.selectReplacement li {
background: #cf5a5a;
color: #fff;
cursor: pointer;
display: none;
font-size: 11px;
line-height: 1.7em;
list-style: none;
margin: 0;
padding: 1px 12px;
width: 276px;
}
ul.selectOpen li {
display: block;
}
ul.selectReplacement li.selected {
background: url(bottom.gif) bottom left no-repeat;
color: #fff;
display: block;
}
ul.selectOpen li.selected {
background: #9e0000;
display: block;
}
ul.selectOpen li:hover,
ul.selectOpen li.hover,
ul.selectOpen li.selected:hover {
background: #9e0000;
color: #fff;
}
&lt;/<span class="end-tag">style</span>&gt;
&lt;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">&#8220;text/javascript&#8221;</span>&gt;
// &lt;![CDATA[
function selectReplacement(obj) {
obj.className += &#8216; replaced&#8217;;
var ul = document.createElement(&#8217;ul&#8217;);
ul.className = &#8217;selectReplacement&#8217;;
var opts = obj.options;
for (var i=0; i&lt;opts.length; i++) {
var selectedOpt;
if (opts[i].selected) {
selectedOpt = i;
break;
} else {
selectedOpt = 0;
}
}
for (var i=0; i&lt;opts.length; i++) {
var li = document.createElement(&#8217;li&#8217;);
var txt = document.createTextNode(opts[i].text);
li.appendChild(txt);
li.selIndex = opts[i].index;
li.selectID = obj.id;
li.onclick = function() {
selectMe(this);
}
if (i == selectedOpt) {
li.className = &#8217;selected&#8217;;
li.onclick = function() {
this.parentNode.className += &#8216; selectOpen&#8217;;
this.onclick = function() {
selectMe(this);
}
}
}
if (window.attachEvent) {
li.onmouseover = function() {
this.className += &#8216; hover&#8217;;
}
li.onmouseout = function() {
this.className =
this.className.replace(new RegExp(&#8221; hover\\b&#8221;), &#8221;);
}
}
ul.appendChild(li);
}
obj.parentNode.insertBefore(ul,obj);
}
function selectMe(obj) {
var lis = obj.parentNode.getElementsByTagName(&#8217;li&#8217;);
for (var i=0; i&lt;lis.length; i++) {
if (lis[i] != obj) {
lis[i].className=&#8221;;
lis[i].onclick = function() {
selectMe(this);
}
} else {
setVal(obj.selectID, obj.selIndex);
obj.className=&#8217;selected&#8217;;
obj.parentNode.className =
obj.parentNode.className.replace(new RegExp(&#8221; selectOpen\\b&#8221;), &#8221;);
obj.onclick = function() {
obj.parentNode.className += &#8216; selectOpen&#8217;;
this.onclick = function() {
selectMe(this);
}
}
}
}
}
function setVal(objID, selIndex) {
var obj = document.getElementById(objID);
obj.selectedIndex = selIndex;
}
function setForm() {
var s = document.getElementsByTagName(&#8217;select&#8217;);
for (var i=0; i&lt;s.length; i++) {
selectReplacement(s[i]);
}
}
window.onload = function() {
(document.all &amp;&amp; !window.print) ? null : setForm();
}
// ]]&gt;
&lt;/<span class="end-tag">script</span>&gt;</pre>
<h3><strong>Body</strong></h3>
<pre>&lt;<span class="start-tag">form</span><span class="attribute-name"> action</span>=<span class="attribute-value">&#8220;#&#8221; </span><span class="attribute-name">method</span>=<span class="attribute-value">&#8220;post&#8221;</span>&gt;
&lt;<span class="start-tag">fieldset</span>&gt;
&lt;<span class="start-tag">legend</span>&gt;Sample Form&lt;/<span class="end-tag">legend</span>&gt;
&lt;<span class="start-tag">label</span><span class="attribute-name"> for</span>=<span class="attribute-value">&#8220;something&#8221;</span>&gt;Select to Replace&lt;/<span class="end-tag">label</span>&gt;
&lt;<span class="start-tag">select</span><span class="attribute-name"> id</span>=<span class="attribute-value">&#8220;something&#8221; </span><span class="attribute-name">name</span>=<span class="attribute-value">&#8220;something&#8221;</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;1&#8243;</span>&gt;This is option 1&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;2&#8243;</span>&gt;This is option 2&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;3&#8243;</span>&gt;This is option 3&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;4&#8243;</span>&gt;This is option 4&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;5&#8243; </span><span class="attribute-name">selected</span>=<span class="attribute-value">&#8220;selected&#8221;</span>&gt;This is option 5&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;6&#8243;</span>&gt;This is option 6&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;7&#8243;</span>&gt;This is option 7&lt;/<span class="end-tag">option</span>&gt;
&lt;<span class="start-tag">option</span><span class="attribute-name"> value</span>=<span class="attribute-value">&#8220;8&#8243;</span>&gt;This is option 8&lt;/<span class="end-tag">option</span>&gt;
&lt;/<span class="end-tag">select</span>&gt;
&lt;/<span class="end-tag">fieldset</span>&gt;
&lt;/<span class="end-tag">form</span>&gt;</pre>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-javascript-dropdown-menues-mit-pfeil-komplett-formartieren-900.htm/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS: How to make a footer which really stays on the bottom</title>
		<link>http://www.knowtebook.com/css-how-to-make-a-footer-which-really-stays-on-the-bottom-875.htm</link>
		<comments>http://www.knowtebook.com/css-how-to-make-a-footer-which-really-stays-on-the-bottom-875.htm#comments</comments>
		<pubDate>Sun, 30 Mar 2008 10:48:17 +0000</pubDate>
		<dc:creator>Knowtebook</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.4webworking.com/css-how-to-make-a-footer-which-really-stays-on-the-bottom-898.htm</guid>
		<description><![CDATA[One problem Jonathan Longnecker run into pretty frequently when coding a site in to XHTML and CSS is making his footer dock to the bottom of the screen. It’s especially annoying if you have a page that’s short on content (...)]]></description>
			<content:encoded><![CDATA[<p>One problem <em>Jonathan Longnecker</em> run into pretty frequently when coding a site in to XHTML and CSS is making his footer dock to the bottom of the screen. It’s especially annoying if you have a page that’s short on content and the footer, which happens to be a different color that the body background doesn’t stay at the bottom of the browser window:</p>
<p>I can hear you say, “But why don’t you just do a fixed position on it. That’s easy enough.” True, but if you do that then it’s always at the bottom of the screen no matter how tall the window is. So if I have a page with a lot of content that footer shouldn’t show up until the content is done. How do we fix this? Let me show you. Here’s what the problem looks like:</p>
<p><img class="full" src="http://fortysevenmedia.com/images/uploads/broken.jpg" border="0" alt="Footer is broken" width="568" height="442" title="Broken Css: How To Make A Footer Which Really Stays On The Bottom" /></p>
<p><span id="more-875"></span></p>
<p>This tutorial assumes a few things: 1. That you know basic HTML formatting, and 2. That you have a pretty good understanding of CSS.</p>
<p>Please also consider to check out another <a href="http://ryanfait.com/resources/footer-stick-to-bottom-of-page/" target="_blank">method called sticky footer</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.knowtebook.com/css-how-to-make-a-footer-which-really-stays-on-the-bottom-875.htm/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
