No replies
joseppe
joseppe's picture
Offline
newbie
Last seen: 9 years 39 weeks ago
Timezone: GMT-5
Joined: 2012-03-06
Posts: 1
Points: 2

Hey everyone. Is it possible to make a form where the input fields are transparent through the fieldset background? That is to say, if the overall form has a solid color background, and behind that, there's the page background image, is there a way to see that background image through the child input forms? My assumption is no, but if anyone has any clever hacks or examples in the wild of that happening, I'd love to see them.

(Just for clarification, I know how to make the input fields transparent, but they just reveal the fieldset directly underneath them. Also, if anyone has an example of this happening but with some other sort of parent/child (like divs), that would be fine too.)

This is a theoretical question, and I don't have any examples for it, but basically, if I have something like this:

<img src="example.jpg" />
<form action="submit.php">
    <fieldset>
        <label>
             Input:
            <input type="text" /> 
        </label>
    </fieldset>
</form>

I'd like to be able to see example.jpg through the input, but not through the fieldset.