<?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>h4x3d.com &#187; hidden</title>
	<atom:link href="http://h4x3d.com/tag/hidden/feed/" rel="self" type="application/rss+xml" />
	<link>http://h4x3d.com</link>
	<description>online portfolio of Julian Klewes</description>
	<lastBuildDate>Mon, 25 Jul 2011 13:18:32 +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>Want no border around input hidden field with css?</title>
		<link>http://h4x3d.com/want-no-border-around-input-hidden-field-with-css/</link>
		<comments>http://h4x3d.com/want-no-border-around-input-hidden-field-with-css/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 22:05:07 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hidden]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/want-no-border-around-input-hidden-field-with-css/</guid>
		<description><![CDATA[Today I worked on a template for another client and run into some strange bug. Well not really a bug, but more of an annoyance that took ten minutes to fix. In the lower part of a site near the commenting box two rectangle border showed up. Obviously this was caused by the input field [...]]]></description>
			<content:encoded><![CDATA[<p>Today I worked on a template for another client and run into some strange bug. Well not really a bug, but more of an annoyance that took ten minutes to fix. In the lower part of a site near the commenting box two rectangle border showed up. Obviously this was caused by the input field and its CSS.</p>
<p>Here is the old css (excerpt)</p>
<pre><code>
input { border: 1px solid rgb(204, 204, 204); padding: 3px 6px; background: rgb(255, 255, 255) none repeat; color: rgb(102, 102, 102); }
</code></pre>
<p><em>and here a quick screencap of what the problem looked like:</em><br />
<img src="http://www.h4x3d.com/wp-content/uploads/border-hidden.gif" width="300" height="100" alt="border-hidden.gif" class="imageframe" /></p>
<p>I applied this quick CSS hack to my code to make the border disappear:</p>
<pre><code>
input[type="hidden"] { border: 0; padding: 0; margin: 0; background: white; }
</code></pre>
<p><em>(marked green in screencap)</em><br />
<img src="http://www.h4x3d.com/wp-content/uploads/border-hidden-css.gif" width="300" height="100" alt="border-hidden-css.gif" class="imageframe" /></p>
<p>Voila, the rectangles are gone. No more annoying borders around hidden input fields with CSS.<br />
<img src="http://www.h4x3d.com/wp-content/uploads/border-hidden-result.gif" width="300" height="100" alt="border-hidden-result.gif" class="imageframe" /></p>
<p><em>I hope this helped anyone. You can do a similar trick with the input property &#8220;submit&#8221; if you want to apply different CSS attributes to your input submit form only.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/want-no-border-around-input-hidden-field-with-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

