Welcome to WebmasterWorld Guest from 34.229.113.106

Forum Moderators: ocean10000

Message Too Old, No Replies

Datalist

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

Preferred Member

10+ Year Member

joined:Nov 24, 2005
posts:429
votes: 0


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
8:39 pm on Nov 12, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 12, 2002
posts:1482
votes: 0


I admittedly haven't researched this at all, but can't you give it a CSS style of background-color:transparent?
10:07 pm on Nov 12, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 15, 2003
posts:2637
votes: 5


hal... if you can set an image couldn't you use a transparent image and set it as the background image?
9:39 am on Nov 28, 2010 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11715
votes: 211


do you mean like this?

datalist
{
background-color:transparent;
}

transparent should be the default background "color".