<?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>zsygab.com &#187; html</title>
	<atom:link href="http://www.zsygab.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zsygab.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 10 Jan 2012 13:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Internet Explorer 7 double padding submit button</title>
		<link>http://www.zsygab.com/internet-explorer-7-double-padding-submit-button/</link>
		<comments>http://www.zsygab.com/internet-explorer-7-double-padding-submit-button/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 06:02:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming - Computers]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[submit]]></category>

		<guid isPermaLink="false">http://www.zsygab.com/?p=160</guid>
		<description><![CDATA[Internet Explorer is the nightmare of every web-developer. As you go lower and lower with the version numbers (8-7-6) it&#8217;s going to make more and more headache for you. Recently I found a very nasty bug in IE7. When creating a search form, my submit button did not appear as I wished, like in Chrome, [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer is the nightmare of every web-developer. As you go lower and lower with the version numbers (8-7-6) it&#8217;s going to make more and more headache for you.</p>
<p>Recently I found a very nasty bug in IE7. When creating a search form, my submit button did not appear as I wished, like in Chrome, Firefox, IE8. Added a default 10px padding to the left and right of the button.</p>
<p>IE7 ignored all of the horizontal padding I specified with css.</p>
<p>After some googling I found the solution:</p>
<p><span style="text-decoration: underline;">Before:</span></p>
<input style="padding: 20px;" type="submit" value="Submit button NOT OK" />
<blockquote><p>&lt;input type=&#8221;submit&#8221; value=&#8221;Submit button NOT OK&#8221; style=&#8221;padding: 20px;&#8221; /&gt;</p></blockquote>
<p><span style="text-decoration: underline;">After:</span></p>
<input style="padding: 20px; overflow: visible;" type="submit" value="Submit button OK" />
<blockquote><p>&lt;input type=&#8221;submit&#8221; value=&#8221;Submit button OK&#8221; style=&#8221;padding: 20px; overflow: visible;&#8221; /&gt;</p></blockquote>
<p>Note: the example above is correctly visible only in IE7!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zsygab.com/internet-explorer-7-double-padding-submit-button/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Open .xls HTML content with Open Office</title>
		<link>http://www.zsygab.com/open-xls-html-content-with-open-office/</link>
		<comments>http://www.zsygab.com/open-xls-html-content-with-open-office/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 19:05:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming - Computers]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[open office]]></category>
		<category><![CDATA[xls]]></category>

		<guid isPermaLink="false">http://www.zsygab.com/?p=45</guid>
		<description><![CDATA[It looks like there’s a little bug in Open Office… If you have an .xls file with HTML content, if you open it with Microsoft Excel, it will look like an Excel table, but if you try to open it with Open Office, the HTML content will be displayed instead of the table. Here’s how [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like there’s a little bug in Open Office… If you have an .xls file with HTML content, if you open it with Microsoft Excel, it will look like an Excel table, but if you try to open it with Open Office, the HTML content will be displayed instead of the table.</p>
<p>Here’s how you can make it to work:</p>
<p>- instead of trying opening the file by double clicking it from Explorer, open a new, clean Open Office Calc spreadsheet, and open the file by selecting from the menu: File-&gt;Open.</p>
<p>Here is a small code to test it:</p>
<table border="1">
<tbody>
<tr>
<th>a</th>
<th>b</th>
<th>c</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
<tr>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.zsygab.com/open-xls-html-content-with-open-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check all uncheck all HTML checkboxes with Javascript</title>
		<link>http://www.zsygab.com/check-all-uncheck-all-html-checkboxes-with-javascript/</link>
		<comments>http://www.zsygab.com/check-all-uncheck-all-html-checkboxes-with-javascript/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 18:55:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming - Computers]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[uncheck]]></category>

		<guid isPermaLink="false">http://www.zsygab.com/?p=40</guid>
		<description><![CDATA[The following little piece of code shows how to check all / uncheck all HTML checkboxes with simple Javascript, without jQuery. It’s not something hard to do, but as I use it a lot, it’s nice to have it at one click… &#60;form name=”formname” method=”POST” action=”?action=dosomething”&#62; Check all: &#60;input type=”checkbox” name=”checkall” id=”checkall” value=”Check All” onclick=”Check(‘formname’,$(‘.check_list’))”&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The following little piece of code shows how to check all / uncheck all HTML checkboxes with simple Javascript, without jQuery. It’s not something hard to do, but as I use it a lot, it’s nice to have it at one click…</p>
<blockquote><p>&lt;form name=”formname” method=”POST” action=”?action=dosomething”&gt;</p>
<p>Check all: &lt;input type=”checkbox” name=”checkall” id=”checkall” value=”Check All” onclick=”Check(‘formname’,$(‘.check_list’))”&gt;</p>
<p>Option 1&lt;input type=’checkbox’ class=”check_list” name=”check_list[]” value=”1″&gt;<br />
Option 2&lt;input type=’checkbox’ class=”check_list” name=”check_list[]” value=”2″&gt;<br />
Option 3&lt;input type=’checkbox’ class=”check_list” name=”check_list[]” value=”3″&gt;</p>
<p>&lt;/form&gt;</p></blockquote>
<p>The corresponding Javascript code:</p>
<blockquote><p>function Check(form_name,chk){ // alternate check all/check none of items</p>
<p>if(eval(“document.”+form_name+”.checkall.value”)==”Check All”){<br />
for (i = 0; i &lt; chk.length; i++)<br />
chk[i].checked = true ;<br />
eval(“document.”+form_name+”.checkall.value=’UnCheck All’”);<br />
}</p>
<p>else{<br />
for (i = 0; i &lt; chk.length; i++)<br />
chk[i].checked = false ;<br />
eval(“document.”+form_name+”.checkall.value=’Check All’”);<br />
}</p>
<p>}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.zsygab.com/check-all-uncheck-all-html-checkboxes-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

