<?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>thapole.net &#187; HTML</title>
	<atom:link href="http://www.thapole.net/category/coding/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thapole.net</link>
	<description>this is the new shit</description>
	<lastBuildDate>Wed, 05 Aug 2009 22:13:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript based table sort</title>
		<link>http://www.thapole.net/coding/2007/06/19/javascript-based-table-sort/</link>
		<comments>http://www.thapole.net/coding/2007/06/19/javascript-based-table-sort/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 11:46:38 +0000</pubDate>
		<dc:creator>Thapole</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[HTML]]></category>

	<!-- AutoMeta Start -->
	<category>sort</category>
	<category>decoder</category>
	<category>frequency</category>
	<category>javascript</category>
	<category>demo</category>
	<category>sets</category>
	<category>search</category>
	<category>anytime</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.thapole.net/coding/2007/06/19/javascript-based-table-sort/</guid>
		<description><![CDATA[Yesterday I searched for a simple way to sort data sets fetched from a DB by column without querying the DB anytime the sort order changes. A Google search came up with a very nice Javascript at http://www.frequency-decoder.com/. Very sweet, very fast even for large result sets and most important very easy to integrate into [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I searched for a simple way to sort data sets fetched from a DB by column without querying the DB anytime the sort order changes. A Google search came up with a very nice Javascript at <a href="http://www.frequency-decoder.com/">http://www.frequency-decoder.com/</a>. Very sweet, very fast even for large result sets and most important very easy to integrate into a running application.<br />
Check out the demo <a href="http://www.frequency-decoder.com/demo/table-sort-revisited/">here</a> or read the whole <a href="http://www.frequency-decoder.com/2006/09/16/unobtrusive-table-sort-script-revisited">article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thapole.net/coding/2007/06/19/javascript-based-table-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS style problem with Windows XP themes</title>
		<link>http://www.thapole.net/coding/html/2005/06/23/css-style-problem-with-windows-xp-themes/</link>
		<comments>http://www.thapole.net/coding/html/2005/06/23/css-style-problem-with-windows-xp-themes/#comments</comments>
		<pubDate>Thu, 23 Jun 2005 08:56:51 +0000</pubDate>
		<dc:creator>Thapole</dc:creator>
				<category><![CDATA[HTML]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.thapole.net/?p=4</guid>
		<description><![CDATA[Just a little annoyance concerning HTML layout inconsistency under Windows XP which came up this day.]]></description>
			<content:encoded><![CDATA[<p>Ok, I knew that Internet Explorer is highly integrated into the OS, but this issue was new to me&#8230;<br />
Smooth 3 column layout, a navigation to the left, some teasers and a searchbox to the right. All three cols have a fixed width. The content area is filled up with a medium complex form. I used fieldset and legend attributes but I don&#8217;t want to have a border line all around the fieldset. So I give the fieldset a <code>border:none</code> and let the legend be underlined by a 1px div which has the full with of the parent div container. &#8220;All fine&#8221; I think and check it in into cvs. Some hours later my co-worker: </p>
<p>- &#8220;Hey, this form page you made &#8230; kinda messy, eh?&#8221;<br />
- &#8220;Hu?&#8221;<br />
- &#8220;The whole teaser area isn&#8217;t there where it is supposed to be.&#8221;<br />
- &#8220;No it isn&#8217;t, look at my screen!&#8221;<br />
- &#8220;Yes it is, look at my screen!&#8221;</p>
<p>After some hours of code comparison and several tests we finally figured out the problem. We both work with almost the same notebook, same OS (Windows XP with identical Service Pack and patch status) but different screen resolution (which couldn&#8217;t be the problem as we have a fixed layout here) and (here&#8217;s the crux!) different windows themes. I&#8217;m on &#8220;Windows Classic&#8221; theme and he has the standard Win XP theme. Funnily the Win XP theme adds a padding to the fieldset element (!!!) so all we had to do was adding a <code>padding:0</code> to the fieldset css. To be honest, there are much more important things I am willing to waste my time with&#8230;<br />
So as a conclusion for you WebDevs out there: Always test your layout on different Windows tehemes aswell <img src='http://www.thapole.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
(Just to make another line on the Mozilla vs. IE list &#8211; Mozilla just behaved as expected and all was fine before and afterwards&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thapole.net/coding/html/2005/06/23/css-style-problem-with-windows-xp-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS styled submit buttons</title>
		<link>http://www.thapole.net/coding/html/2005/06/21/css-styled-submit-buttons/</link>
		<comments>http://www.thapole.net/coding/html/2005/06/21/css-styled-submit-buttons/#comments</comments>
		<pubDate>Tue, 21 Jun 2005 17:00:15 +0000</pubDate>
		<dc:creator>Thapole</dc:creator>
				<category><![CDATA[HTML]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.thapole.net/?p=3</guid>
		<description><![CDATA[Some CSS and Javascript code to make an submit button look like an image submit.]]></description>
			<content:encoded><![CDATA[<p>Yay, first Coding post!<br />
Needed a neat little submit button design today. Here&#8217;s what I ended up with:</p>
<p>As I wanted to have an rollover effect but IE doesn&#8217;t support usage of :hover with other elements than the a-tag, I decided to use a simple 3-liner for &#8220;on the fly (hover)&#8221; style switching:<br />
<code><br />
function changeStyle(id, newClass) {<br />
	identity=document.getElementById(id);<br />
	identity.className=newClass;<br />
}<br />
</code><br />
Very simple, but quite useful for several circumstances. <code>id</code> is the unique id of the element I want to switch the style of, <code>newClass</code> is the style I want to switch to. Only disadvantage is the non-functional hover effect with disabled JS in Internet Explorer.</p>
<p>Here&#8217;s the CSS code:</p>
<p><code><br />
input.fancysubmit {padding-left:3px; border:0; color:#fff; background-color:#abcdef; cursor:pointer; font-weight:bold; background-image: url(./img/pfeil_button_white.gif); background-repeat:no-repeat; background-position:left center;}<br />
html>body input.fancysubmit {padding-left:12px}<br />
</code><br />
<code><br />
input.fancysubmit:hover {padding-left:3px; border:0; background-color:#abefcd; color:#fff; cursor:pointer; font-weight:bold; background-image: url(./img/pfeil_button_white.gif); background-repeat:no-repeat; background-position:left center;}<br />
html>body input.fancysubmit:hover {padding-left:12px}<br />
</code><br />
<code><br />
/* workaround for wacky IE CSS2 implementation */<br />
input.fancysubmitmouseover {padding-left:3px; border:0; background-color:#abefcd; color:#fff; cursor:pointer; font-weight:bold; background-image: url(./img/pfeil_button_white.gif); background-repeat:no-repeat; background-position:left center;}<br />
html>body input.fancysubmitmouseover {padding-left:12px}<br />
</code></p>
<p>As you can see, I&#8217;ve added an background image. It is just a tiny arrow in this case, but there are several other possibilities for using the background. You can download my all-in-one HTML file and the image here:</p>
<p><a href='http://www.thapole.net/wp-content/buttontest.zip' title='Fancy button HTML source code'>Fancy button HTML source code</a></p>
<p>For those of you not that into browser hacks, the <code>html>body</code> makes IE ignoring the following style definitions. A good way to correct display problems concerning different box models of the browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thapole.net/coding/html/2005/06/21/css-styled-submit-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
