By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,320 Members | 2,109 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,320 IT Pros & Developers. It's quick & easy.

fieldset>input.textfield

P: n/a
I'm trying to use an image as a background for a text input box.

<form>
<fieldset><input type="text" name ="blah" class="cheese"></fieldset>
</form>

I'm using this code as part of my css to overcome a background repeat bug in
IE 5/6.

fieldset>input.textfield {
background: transparent
url("image.jpg") no-repeat;
}
This works great. The only problem I have now is that it seems the
<fieldset> tag is causing problems in Opera. Is there any way I can ditech
the fieldset and still have the CSS code above?

form>input.textfield {
background: transparent
url("image.jpg") no-repeat;
}

Changing "fieldset" to "form" doesn't work. Any ideas?

Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
luke wrote:
I'm trying to use an image as a background for a text input box.


I just saw this posted in alt.html. Where would you like your answers?

Please don't multi-post.
http://oakroadsystems.com/genl/unice.htm#xpost

--
-bts
-This space intentionally left blank.
Jul 21 '05 #2

P: n/a
On Sat, 12 Mar 2005, luke wrote:
I'm trying to use an image as a background for a text input box.


Then stop wanting that. With any luck it won't work, but in the
unfortunate event that it does, it tends to reduce usability.

Users know what an input area looks like on their particular browser,
and it does them no favours to confuse that expectation.

(I gather you also want to be killfiled for multiposting.)

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.