02-14-2008, 07:19 PM
So i've laid out my site with mostly CSS. header, 2 columns and a footer.
Here is the CSS for my main column:
#main {
float:left;
width:550px;
padding-top: 38px;
background: url(../images/ground-content.gif) no-repeat center 19px;
opacity: 0.4;
filter: alpha(opacity=40);
}
#main p {
font: 11px/16px Verdana, Arial, Helvetica, sans-serif;
text-align: left;
padding:0px 38px;
}
I have the opacity adjusted to allow the background image to show through the "ground-content.gif". It works great in mac and PC and IE even. However, it also makes my text fade too. So my question is how do I do the above, but w/o making the text transparent too?
Here is the CSS for my main column:
#main {
float:left;
width:550px;
padding-top: 38px;
background: url(../images/ground-content.gif) no-repeat center 19px;
opacity: 0.4;
filter: alpha(opacity=40);
}
#main p {
font: 11px/16px Verdana, Arial, Helvetica, sans-serif;
text-align: left;
padding:0px 38px;
}
I have the opacity adjusted to allow the background image to show through the "ground-content.gif". It works great in mac and PC and IE even. However, it also makes my text fade too. So my question is how do I do the above, but w/o making the text transparent too?