Forum Moderators: open

Message Too Old, No Replies

Datalist

         

hal12b

3:28 pm on Nov 11, 2010 (gmt 0)

10+ Year Member



How can I add a transparent background to a datalist? I can't figure this out. I can add a color or an image, but by default it is white. Thanks

mattglet

8:39 pm on Nov 12, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I admittedly haven't researched this at all, but can't you give it a CSS style of background-color:transparent?

Demaestro

10:07 pm on Nov 12, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hal... if you can set an image couldn't you use a transparent image and set it as the background image?

phranque

9:39 am on Nov 28, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



do you mean like this?

datalist
{
background-color:transparent;
}

transparent should be the default background "color".