Archívum - Jún 5, 2010 - Fórum téma
Szellem DIV
Üdv! Az alábbi kódnak egy konténeren belül meg kéne jeleníteni két divet, de a hirdetés div az nem látszik! Ez miért van?
■ - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
- <title>XHTML</title>
- <style>
- html,body{
- background-image:url("background.png");
- background-repeat:repeat-x;
- background-color:#f5e9b9;}
- .container{
- background-image:url("container_background.png");
- background-repeat:no-repeat;
- background-color:#d5f2fe;
- width:1001px;
- height:1370px;
- margin:0 auto;}
- .content{
- background-color:#ffffff;
- width:620px;
- height:945px;
- position:relative;
- left:190px;
- top:282px;
- padding-bottom:5px;}
- .content_ad{
- background-color:#b2cce5;
- width:620px;
- height:75px;
- position:relative;
- left:190px;
- top:5px;}
- </style>
- </head>
- <body>
- <div class="container">
- <div class="content">
- Tartalom
- </div>
- <div class="content_ad">
- Hirdetés
- </div>
- </div>
- </body>
- </html>