Dab!do
03-15-2005, 05:09 PM
I would like to use DIV tags within DIV tags and set the parent DIV-tag to have a general background (an image) then the other child DIV's should be transparent. is that possible? I tried it out already but the child tag carves out the a white piece of my background.
anyone?
cheers.
lefty
03-15-2005, 05:53 PM
Are you use you haven't set a background color or anything? They should be transparent by default.
Dab!do
03-16-2005, 09:15 PM
Are you use you haven't set a background color or anything? They should be transparent by default.
I found it.. actually weird because I used it once and it didn't work and now it is working.. here's the code:
<style type="text/css">
#content {
overflow:auto;
width:200px;
height:200px;
border:1px solid;
}
#background {
width:500px;
height:300px;
border:1px solid;
background: white url(../_pics/layout/barotec_web_outl_04.gif);
}
h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 24px;
font-weight: bolder;
color: #181818;
text-decoration: none;
text-align: left;
}
.tdjustify {
text-align: justify;
color: #CCCC66;
}
</style>