<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/1.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Styling file inputs</title>
	<link>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs</link>
	<description>Web Development, Classical Music, Kitties, and whatever else I feel like</description>
	<pubDate>Tue, 18 Nov 2008 09:38:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5</generator>

	<item>
		<title>by: Hasan</title>
		<link>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-59</link>
		<pubDate>Wed, 31 Mar 2004 12:16:19 -0800</pubDate>
		<guid>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-59</guid>
					<description>Funny, I'm upset with CSS today also...Glad your site is up again, still some problems though, everything loads very slowly. Have a good day.</description>
		<content:encoded><![CDATA[	<p>Funny, I&#8217;m upset with CSS today also&#8230;Glad your site is up again, still some problems though, everything loads very slowly. Have a good day.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eric</title>
		<link>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-62</link>
		<pubDate>Thu, 01 Apr 2004 10:04:40 -0800</pubDate>
		<guid>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-62</guid>
					<description>Isn't it because the button is actually an OS interface rather than a web interface? I hope that there is a way for CSS to work it out in the future.</description>
		<content:encoded><![CDATA[	<p>Isn&#8217;t it because the button is actually an OS interface rather than a web interface? I hope that there is a way for CSS to work it out in the future.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jennifer Grucza</title>
		<link>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-65</link>
		<pubDate>Thu, 01 Apr 2004 14:19:38 -0800</pubDate>
		<guid>http://jennifergrucza.com/blog/archives/2004/03/30/styling-file-inputs#comment-65</guid>
					<description>I'm not sure whether the browse button is an OS control or not.  I would think it would depend on the browser - there's no requirement that it has to be an OS control, right?  

IE is pretty good about letting you style the file input.  The only problem is that there's no way to distinguish between the text field and the browse button.  So if you set a background color or border, it ends up being applied to both.  

Firefox, on the other hand, appears to style the background and font of the text field, but not the border.  And it doesn't style the button at all.

I guess it's not too big of an issue for most website developers, since they probably don't have much reason to use file inputs very often.  For web applications, though, they come up quite often (importing saved configuration files, importing other files into the application, etc.)</description>
		<content:encoded><![CDATA[	<p>I&#8217;m not sure whether the browse button is an OS control or not.  I would think it would depend on the browser - there&#8217;s no requirement that it has to be an OS control, right?  </p>
	<p>IE is pretty good about letting you style the file input.  The only problem is that there&#8217;s no way to distinguish between the text field and the browse button.  So if you set a background color or border, it ends up being applied to both.  </p>
	<p>Firefox, on the other hand, appears to style the background and font of the text field, but not the border.  And it doesn&#8217;t style the button at all.</p>
	<p>I guess it&#8217;s not too big of an issue for most website developers, since they probably don&#8217;t have much reason to use file inputs very often.  For web applications, though, they come up quite often (importing saved configuration files, importing other files into the application, etc.)
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

