Advertisements

"luke" <> wrote:
>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 {

Shouldn't that be
fieldset>input.cheese ?
> 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.

Opera has problems with styles and fieldset. Some work, some don't.
>Is there any way I can ditech
>the fieldset and still have the CSS code above?

Advertisements

luke wrote :
> 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?

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!