Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   any CSS gurus around? (https://thetfp.com/tfp/tilted-technology/97228-any-css-gurus-around.html)

jmack 11-09-2005 07:22 AM

any CSS gurus around?
 
I hope so!

have a look at this please: http://www.digitallsd.com/test_css.htm


Okay so in IE it works perfectly. It displays the table background color transluscent over the image background while keeping the contents of the table at 100% alpha. Perfect.

In Firefox however, it makes the table bg AND its contents transluscent. I dont want that.

Is there a work around for this?

phukraut 11-09-2005 03:36 PM

I'm no CSS guru, but what happens when you remove all the errors as listed here:

Validator Results?

DiegoAndresJAY 11-17-2005 07:37 PM

This Should Work...
 
<html>
<head>
<style type="text/css">

.transBg{
background-color: #000000;
border: 1px solid #9D6F39;
filter:alpha(opacity=40);
opacity: 0.4;
-moz-opacity:0.4;
z-index: 0;
position: absolute;
}
.transInner {
font-size: 11px;
color: #BA9D7C;
font-family: Arial, Helvetica, sans-serif
filter:alpha(opacity=100);
opacity: 1;
-moz-opacity:1;
position: relative;
}
body{
background-image: url(http://images.lottadot.com/shane/pho...l-flower-i.png);
}
</style>
</head>
<body>
<table width="400" height="400" class="transBg"><tr><td>&nbsp;</td></tr></table>
<table width="400" height="400">
<tr>
<td class="transInner" align="center">
<table class="opaqueBg"><tr><td>
<img src="http://images.lottadot.com/shane/photos/flowers/orange-spikey-ball-flower-i.png" height="200" width="200"><br>
This is the test text for this css thing.
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>


All times are GMT -8. The time now is 05:43 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76