Jump to content

Skej

Neophyte
  • Posts

    1
  • Joined

  • Last visited

Skej's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Skej

    И снова div

    Всем привет, возникла проблема с Div ни в какую не хочет растягиваться по размерам дочерних блоков. <div class="divCenter"><div class="divCenter2"> <div class="divMain1"><img src="img/main1.jpg" width="600" height="380" alt="Изображение не доступно" /></div> <div class="divMain2">Комфорт превыше всего!</div> <div class="divMain3"><img src="img/main2.JPG" width="510" height="320" alt="Изображение не доступно" /></div> <div class="divMain4"><img src="img/main4.jpg" width="1140" height="400" alt="Изображение не доступно" /></div> </div></div> .divCenter {width:1200px; height: 100%; left:50%; top:0; margin-left:-600px; margin-top:250px; background-color:#fff; position:absolute; border:#080e73 1px solid; border-top-left-radius:30px; border-top-right-radius:30px;} .divCenter2 {top:0; left:0; margin-left:30px; margin-right:30px; height: 100$; position:absolute;} .divMain1 {margin-top:30px; border:1px solid #080e73; width:600px; position:absolute;} .divMain2 {margin-top:30px; border:0px solid #080e73; width:510px; font-size:30px; text-align:center; color:#080e73; position:absolute; margin-left:630px; margin-top:380px} .divMain3 {margin-top:30px; border:1px solid #080e73; width:510px; top:0; margin-left:630px; z-index:5; position:absolute;} .divMain4 {margin-top:30px; border:1px solid #080e73; width:1140px; top:0; margin-left:0px; z-index:5; position:absolute; margin-top:440px;}
×
×
  • 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