Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 06-03-2009, 11:41 AM background problem
theohoutman's Avatar
Skilled Talker

Posts: 96
Name: Theo Houtman
Location: Netherlands
Trades: 0
This subject should be antique by now. I'm having trouble making a background of a div semitransparent and the text/content opaque

here's the code:

Quote:
<div id="categoriescontainer">
<div id="categories">
<ul>
<li class="home">{backToHome}</li>
<li>{allCategories}</li>
{showCategories}
<li>{showInstantResponse}</li>
<li>{showSitemap}</li>
</ul>
</div>
</div>
the css:

Quote:
#categoriescontainer {
background-color: #ffffff;
-moz-opacity:0.7;
opacity: 0.7;
filter:alpha(opacity=70);
}
#categories {
border-top: #024e00 dotted 1px;
-moz-opacity:1;
opacity: 1;
filter:alpha(opacity=100);
}
#categories li {
border-bottom: #024e00 dotted 1px;
border-collapse: collapse;
-moz-opacity:1;
opacity: 1;
filter:alpha(opacity=100);
}
#categories li a {
color: #FF6917;
margin: 3px;
-moz-opacity:1;
opacity: 1;
filter:alpha(opacity=100);
}
#categories li a:hover {
background-color: #eeeed6;
color: #000000;
}
Why isn't it working??
theohoutman is offline
Reply With Quote
View Public Profile Visit theohoutman's homepage!
 
 
Register now for full access!
Old 06-03-2009, 11:43 AM Re: background problem
theohoutman's Avatar
Skilled Talker

Posts: 96
Name: Theo Houtman
Location: Netherlands
Trades: 0
The page in action: http://consult.vitanova-info.nl
theohoutman is offline
Reply With Quote
View Public Profile Visit theohoutman's homepage!
 
Old 06-03-2009, 07:38 PM Re: background problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Opacity is inherited, so if the parent container is set to some opacity other than opaque, it's 'children' will inherit that same opacity.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-03-2009, 10:22 PM Re: background problem
theohoutman's Avatar
Skilled Talker

Posts: 96
Name: Theo Houtman
Location: Netherlands
Trades: 0
any suggestions on how to do a decent semitransparent background??
theohoutman is offline
Reply With Quote
View Public Profile Visit theohoutman's homepage!
 
Old 06-03-2009, 11:39 PM Re: background problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Use a semi-transparent repeating background image.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to background problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64807 seconds with 12 queries