CSS Question

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Tim Underwood

Thread Starter
Joined
Oct 27, 2006
Messages
85
Is there any way to make this column transparent on the page by about 70%?

.leftcolumn{
width: 80%;
float: left;
background-color: #CC0000;
text-align: left;
border-right: #FFFFFF;
border-left: #FFFFFF;
padding-top: 4px;
{

Just i'm a bit stuck and was hoping someone could advise.

Kind Regards
Tim
 
Joined
Feb 6, 2002
Messages
1,683
filter:alpha(opacity=70);
-moz-opacity:.7;
-khtml-opacity:.7;
opacity:.7;

You need all four for it to work cross browser.
 
Joined
Apr 30, 2005
Messages
3,012
Tim Underwood said:
Is there any way to make this column transparent on the page by about 70%?

.leftcolumn{
width: 80%;
float: left;
background-color: #CC0000;
text-align: left;
border-right: #FFFFFF;
border-left: #FFFFFF;
padding-top: 4px;
{

Just i'm a bit stuck and was hoping someone could advise.

Kind Regards
Tim
Just a quick correction, you want } at the end, not {

.leftcolumn{
width: 80%;
float: left;
background-color: #CC0000;
text-align: left;
border-right: #FFFFFF;
border-left: #FFFFFF;
padding-top: 4px;
}

better ;)
 

tomdkat

Retired Trusted Advisor
Joined
May 6, 2006
Messages
7,148
Fyzbo said:
-moz-opacity:.7;
I don't think this is required for modern/current versions of Gecko-based browsers (Mozilla, K-Meleon, etc).

Peace...
 
Joined
Feb 6, 2002
Messages
1,683
You are right as of Mozilla 1.7 it's just opacity. Although including -moz-opacity doesn't hurt and there may be a few users who haven't upgraded.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top