Fond transparent ?

Solved
Zorro Gk Posted messages 16 Status Membre -  
 Alexrox -
Hello everyone.

I'm currently creating a widget for Windows Vista. But why post this in "webmastering"? Simply because I'm using HTML, CSS, XML, and JAVA SCRIPT to do so.

Anyway, here's my problem: I've finished the widget in question, but the background is white, and it doesn't look good on the Sidebar. So I would like to know if there is a way to make it transparent using tags or something else.

Thanks! 
--
This is an excellent hamburger!
Configuration: Windows Vista Firefox 2.0.0.6

10 réponses

Dalida Posted messages 7114 Registration date   Status Contributeur Last intervention   923
 
Hello,

with css:
tag{background-color: transparent;}

you can also try:
tag{background: none;}

--
[ Mathieu ]
There are surely pandas to depend on nothing
45
pip99
 
I confirm what Dalida said, which is compliant with W3C; however, do not use "none", as it is simply a value that does not exist for this property and is therefore invalid... Although some browsers may incorrectly understand it (like Internet Explorer, for example, which doesn’t care at all about standards...), it won't be compatible everywhere in any case.

Source: http://www.w3schools.com/cssref/pr_background-color.asp
0