Wrap your text within your div in a p tag and specify the opacity on the p tag as 100%.
Ps sorry for the syntax sent from my phone... Ex: #rodape p ( Opacity: 100%; ) On May 27, 2011 6:37 PM, "Lucas Rezende" <[email protected]> wrote: > Hi all, > > I have been looking for some explanation about how inherit properties > from a CSS class to a specific tag. > > For example, in this case I am using an id called "#rodape" (footer in > Portuguese as I am from Brazil), an in it I am using the "opacity: . > 50;" property. > > When I put some text inside the "rodape" id it gets the opacity > property as well I barely can see the letters. > > What I tried to do was to create a derived Id, just like shown below: > > #rodape news { > color: black; > } > > But even using this on my <div id="news">, inside <div id="rodape">, > the text appears like light grey. > > Can someone help on how to put the text with full opacity when I am > using half opacity on an extern div? > > Thanks in advance! (Y) > > -- > -- > You received this because you are subscribed to the "Design the Web with CSS" at Google groups. > To post: [email protected] > To unsubscribe: [email protected] -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
