Jump to content

solistcomru

Newbie
  • Posts

    2
  • Joined

  • Last visited

solistcomru's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Познать все и быстро!

  2. Не могу понять почему div c классом Content, не хочет растягиваться по содержимому. Внутренние блоки, почему-то располагаются снаружи этого контейнера. html <div class="header"> </div> <div class="LineOne"> </div> <div class="Content"> Текст для проверки <div class="leftside"> Текст для проверки </div> <div class="rightside"> <div class="Right"> </div> </div> </div> <div class="LineTwo"> </div> <div class="footer"> HOME | ABOUT US </div> css * {margin: 0;padding: 0;} html, body {background: url(../img/background.jpg) repeat;} .header {width: 735px; margin: 0 auto; width: 735px; height: 231px; background: #444e50 url(../img/insky.png) no-repeat;} .LineOne {background: url(../img/line.png); width: 100%; height: 8px; z-index: 2; position: relative;} .LineTwo {background: url(../img/line.png); width: 100%; height: 8px; z-index: 2; position: relative; top: -8px;} .Right {width: 294px; height: 100px; position: relative; background: #55676b; float: right; top: 16px; } .Content {margin: 0 auto; width: 735px; background: #61787d; position: relative; top: -8px; height: auto;} .leftside {width: 425px; float: left; border: 1px solid black; } .rightside {float: right; border: 1px solid black;} .footer {width: 735px; margin: 0 auto;}
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy