micro_learner
asked on
CSS how to remove transperant background
Hello,
I have a pop box that has a transparent background (I think it inherits the css from the parent div's) due to which the background becomes confusing.
How should I avoid a Tranasparent background for only the pop-box anything that I add to the div to make it non transparent ?
I have a pop box that has a transparent background (I think it inherits the css from the parent div's) due to which the background becomes confusing.
How should I avoid a Tranasparent background for only the pop-box anything that I add to the div to make it non transparent ?
ASKER
Thank you, but even when I add an image as the background, the image itself is being transparent ..odd but true.I can see the background through it
It sounds like you changed the opacity an an ancestor element.
ASKER
>>It sounds like you changed the opacity an an ancestor element.
How do I solve it ? is there a way I can do something in the child ?
How do I solve it ? is there a way I can do something in the child ?
ASKER
Please help me out guys
It's difficult to help without seeing your code.
You would remove the opacity declarations from the ancestor. Opacity is inherited and there is nothing you can do to override it on descendants.
You would remove the opacity declarations from the ancestor. Opacity is inherited and there is nothing you can do to override it on descendants.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
#popup{
background-color:white;
background-image:url();
}