Log In · Register

 
opacity
Smarmosaur
post Jun 30 2008, 11:07 PM
Post #1


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



i don't know if this is possible, but is there any way to make the white table background thingy translucent?

http://www.myspace.com/animatedheart

to explain a little more, i want the white background (and the top blue area, although i'm going to change the color) to be translucent (preferably like 50% strong), but only the background. i want the rest of my tables and such to stay just as they are.
catch my drift?

thanks in advance. :]
 
 
Start new topic
Replies (1 - 5)
fixtatik
post Jun 30 2008, 11:33 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



what you could do is make a small 1x1 transparent PNG image in a photo editing program.

then, apply it to only the base table:
CODE
<style type="text/css">
table { background:url(LINK TO TRANSPARENT PNG); }
table table { background:none; }
</style>
of course, that approach will only work in internet explorer 7+ (and all other browsers).

i believe if you want it to work in version 6 (which is the only other browser of IE that supports PNG transparency), you can apply this fix:
CODE
<style type="text/css">
table { background:url(LINK TO TRANSPARENT PNG); _background:none; _filter:progid:DXImagetransform.Microsoft.AlphaImageLoader(enabled="true", src="LINK TO TRANSPARENT PNG", sizingMethod="scale"); }
table table { background:none; _filter:none; }
</style>
i don't remember if that's the exact method to call the PNG rendering engine in IE 6; it's been a while since i had that version.
 
Smarmosaur
post Jul 1 2008, 11:23 AM
Post #3


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



that doesn't work. :[
i tried this:
CODE
table, td{background-color:transparent; background-image: url("http://i6.photobucket.com/albums/y213/Vampyres_of_Myst/Backgrounds/trans.png");}


but it leaves a whiteish background on the rest of the tables:
 
fixtatik
post Jul 1 2008, 02:23 PM
Post #4


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



i forgot a small part. the second portion should be table table, td { background:none; }

//edit: also, if you keep the "table, table" part, if you're using a standard layout, it'll make the rest of the tables transparent. you can give that a color or image background if you'd like, but make sure "td" still has a background of none.
 
Smarmosaur
post Jul 1 2008, 02:27 PM
Post #5


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



i figured that, but for some reason i was doing background:transparent, which didn't work. rolleyes.gif

thanks a million.
 
manny-the-dino
post Jul 8 2008, 05:02 PM
Post #6


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: