[thelist] Putting two divs together
Carlos Costa Portela
ccosta at servidores.net
Thu Jul 24 15:02:38 CDT 2003
Hello, list!
I am learning CSS (I have a backend background [db/systems]) and
no idea about presentation, so excuse me).
I've writting the next code:
<div class="container">
<div class="header">
<div class="logo">
<img src="imag/logo.gif">
</div>
<div class="linea_disc">
<img src="imag/linea_disc.gif">
</div>
</div>
</div>
When I see this code with the browser, the first image is on top
of the second image. And I want the two images together. Here is the .css
lines:
.header {
float: left;
background: #215D91;
}
.logo {
float: left;
}
.linea_disc {
float: left;
background-image: url(imag/linea_disc.gif);
background-repeat: repeat-y;
}
.container {
float: left;
border: 2px dashed #333;
background-color: #ffe;
}
If you can help me, or point me to a good url to learn this,
please do that.
Thanks in advance,
Carlos.
[ http://www.biologia.org/ :: portal especializado en Biología ]
_______Carlos Costa Portela_________________________________________________
| e-mail: ccosta at servidores.net | home page: http://casa.ccp.servidores.net |
|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|
More information about the thelist
mailing list