...

View Full Version : transparent bg in a form's text field?



ivy
01-11-2003, 07:26 PM
Hello all

Is it possible to have a transparent background in a form's text field?

I have a bg picture on the web site and as it is only a watermark, I wanted it to come through the form fields so that it wasn't interrupted by white lines across the page.

Is it possible to do this?

I currently use colour backgrounds in some of the forms fields called from a CSS style sheet.

Your help and comments would be appreciated.

Many thaks in anticipation.

ivy
01-11-2003, 07:35 PM
I'm sorry -

I found the answer after oding a search in this forum and found my answer here:

http://www.codingforums.com/showthread.php?s=&threadid=9018&highlight=transparent

I know - I should have searched first, but I've been working all day and it's about time to call it a day.

Hope this may help somebody else anyway!

Borgtex
01-11-2003, 07:35 PM
style="background-color:transparent"

ivy
01-11-2003, 07:37 PM
Hey Borgtex

That was a quick reply! I did find the answer (as posted above) - we were obviously adding a post at the same time!

Thank you very much for your help anyway!

Xphp->UG-S<-
01-11-2003, 08:11 PM
hey man i know how i did it befor in css here's the code
<style type="text/css">
input { border: 1px #ffffff solid; background: transparent ; font: normal 10px/normal Arial, Helvetica, sans-serif; color: #000000;}
textarea{ border: 1px #ffffff solid; background:transparent ; font: normal 10px/normal Arial, Helvetica, sans-serif; color:#000000;}
select{ border: 1px #ffffff solid; background: transparent ; font: normal 10px/normal Arial, Helvetica, sans-serif; color: #000000;}
</style>
just change the colors but leave background: transparent as is



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum