Click here to Skip to main content
16,005,037 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Control not getting centered Pin
Prosanta Kundu online4-Aug-10 23:05
Prosanta Kundu online4-Aug-10 23:05 
GeneralRe: Control not getting centered Pin
dawmail3336-Aug-10 13:22
dawmail3336-Aug-10 13:22 
QuestionCSS only Transparent background in DIV with child elements opaque Pin
Dave McCool29-Jul-10 6:47
Dave McCool29-Jul-10 6:47 
AnswerRe: CSS only Transparent background in DIV with child elements opaque Pin
User 171649229-Jul-10 8:34
professionalUser 171649229-Jul-10 8:34 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool30-Jul-10 14:29
Dave McCool30-Jul-10 14:29 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
User 171649231-Jul-10 0:37
professionalUser 171649231-Jul-10 0:37 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
User 171649231-Jul-10 2:50
professionalUser 171649231-Jul-10 2:50 
AnswerRe: CSS only Transparent background in DIV with child elements opaque [modified] Pin
dawmail3336-Aug-10 13:26
dawmail3336-Aug-10 13:26 
Try this:
.body_wrapper
{
    background-color: rgba(0,0,0,0.5);
}


It will work in browsers that support CSS3, which is becoming more common. Don't know about earlier IE's in particular though, I'm sorry to say.

The above code simply sets the div to have a semi-transparent background (approx. 50% black). It's called ARGB.

HTH.

modified on Saturday, August 7, 2010 3:11 AM

GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool7-Aug-10 3:11
Dave McCool7-Aug-10 3:11 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
dawmail3337-Aug-10 3:12
dawmail3337-Aug-10 3:12 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool7-Aug-10 3:21
Dave McCool7-Aug-10 3:21 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
dawmail3337-Aug-10 3:24
dawmail3337-Aug-10 3:24 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool7-Aug-10 4:08
Dave McCool7-Aug-10 4:08 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
dawmail3337-Aug-10 4:13
dawmail3337-Aug-10 4:13 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool7-Aug-10 4:18
Dave McCool7-Aug-10 4:18 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
User 17164927-Aug-10 3:57
professionalUser 17164927-Aug-10 3:57 
GeneralRe: CSS only Transparent background in DIV with child elements opaque Pin
Dave McCool7-Aug-10 4:02
Dave McCool7-Aug-10 4:02 
Questionunicode issue Pin
varsh1228-Jul-10 0:44
varsh1228-Jul-10 0:44 
QuestionRe: unicode issue Pin
Yusuf6-Aug-10 4:27
Yusuf6-Aug-10 4:27 
Questionhow to use jquery to be like this?? Pin
he.david825-Jul-10 23:30
he.david825-Jul-10 23:30 
AnswerRe: how to use jquery to be like this?? Pin
R. Giskard Reventlov28-Jul-10 1:01
R. Giskard Reventlov28-Jul-10 1:01 
QuestionImage Virtualization Pin
Civic0622-Jul-10 12:27
Civic0622-Jul-10 12:27 
AnswerRe: Image Virtualization Pin
Peace ON22-Jul-10 20:47
Peace ON22-Jul-10 20:47 
GeneralRe: Image Virtualization Pin
Civic0622-Jul-10 23:19
Civic0622-Jul-10 23:19 
GeneralRe: Image Virtualization Pin
Civic0623-Jul-10 1:25
Civic0623-Jul-10 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.