<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pure-Essence.Net &#187; input background image</title>
	<atom:link href="http://pure-essence.net/tag/input-background-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://pure-essence.net</link>
	<description>You have to visit this geeky girl&#039;s blog.</description>
	<lastBuildDate>Wed, 23 May 2012 01:27:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pure-essence.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pure-Essence.Net &#187; input background image</title>
		<link>http://pure-essence.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pure-essence.net/osd.xml" title="Pure-Essence.Net" />
	<atom:link rel='hub' href='http://pure-essence.net/?pushpress=hub'/>
		<item>
		<title>IE input background image issue</title>
		<link>http://pure-essence.net/2008/02/28/ie-input-background-image-issue/</link>
		<comments>http://pure-essence.net/2008/02/28/ie-input-background-image-issue/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 06:19:36 +0000</pubDate>
		<dc:creator>pureessence</dc:creator>
				<category><![CDATA[geeky]]></category>
		<category><![CDATA[non php code]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[input background image]]></category>
		<category><![CDATA[long text]]></category>
		<category><![CDATA[scroll]]></category>

		<guid isPermaLink="false">http://regretless.com/2008/02/28/ie-input-background-image-issue/</guid>
		<description><![CDATA[IE strikes AGAIN! Just when I thought I was 100% done with the revamp of New Millennium, I noticed an UI issue in IE. I&#8217;m surprised I didn&#8217;t notice this before. It shouldn&#8217;t be anything new. I did some google research but didn&#8217;t find anyone mentioning it either. Applying background image to input tags should [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pure-essence.net&#038;blog=23194870&#038;post=1215&#038;subd=pe20110517&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>IE strikes AGAIN!</p>
<p>Just when I thought I was 100% done with the revamp of New Millennium, I noticed an UI issue in IE. I&#8217;m surprised I didn&#8217;t notice this before. It shouldn&#8217;t be anything new. I did some google research but didn&#8217;t find anyone mentioning it either.</p>
<p>Applying background image to input tags should be nothing new. You see the little search icons for search inputs all over the web now but did anyone notice in IE if you have a background image set to no-repeat and someone puts some very LONG text in the input field, the background image SCROLLS with the text? This causes very odd behavior.</p>
<p>Here&#8217;s my input background-image. I pick this one so I can do background image affect on hover by manipulating background-position.<br />
<img src="http://regretless.com/stuff/webTips/inputBackgroundImage/formInput.gif" alt="background image" /><br />
<strong>CSS:</strong><br />
<pre class="brush: css; wrap-lines: false;">
input.formInput {
	width: 255px;
	background: #a99787 url(formInput.gif) left top no-repeat;
	border: 0;
	padding: 3px;
	height: 22px;
	color: #302721;
}
input.formInput:hover,
input.formInput:focus {
	background-position: -261px top;
}
</pre></p>
<p>In Firefox, it looks great but in IE if you start putting very looooooooooooooooong text in the input, it will look like crap.<br />
<img src="http://regretless.com/stuff/webTips/inputBackgroundImage/inputBackgroundImageIEIssue.png" alt="background image looks like crap in IE" /></p>
<p><a href="http://regretless.com/stuff/webTips/inputBackgroundImage/">Try it out yourself</a></p>
<p>So does anyone have a good solution for this issue?</p>
<p>If I were to do it, I&#8217;d wrap the input in a container and put the background image on the container and hopefully by applying the hover affect on the container, it would get the desirable effect. <del datetime="2008-02-28T23:46:18+00:00">Of course I will need to test out my theory. But it&#8217;s past midnight so I should get some sleep for now.</del></p>
<p><strong>AND it does work. <a href="http://regretless.com/stuff/webTips/inputBackgroundImage/">check it out</a>.</strong></p>
<p>Man, I just love IE.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/pe20110517.wordpress.com/1215/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/pe20110517.wordpress.com/1215/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pe20110517.wordpress.com/1215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pe20110517.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pe20110517.wordpress.com/1215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pure-essence.net&#038;blog=23194870&#038;post=1215&#038;subd=pe20110517&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pure-essence.net/2008/02/28/ie-input-background-image-issue/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfd5e14ca9c91790e95dfdb1d2ad756?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pureessence</media:title>
		</media:content>

		<media:content url="http://regretless.com/stuff/webTips/inputBackgroundImage/formInput.gif" medium="image">
			<media:title type="html">background image</media:title>
		</media:content>

		<media:content url="http://regretless.com/stuff/webTips/inputBackgroundImage/inputBackgroundImageIEIssue.png" medium="image">
			<media:title type="html">background image looks like crap in IE</media:title>
		</media:content>
	</item>
	</channel>
</rss>
