Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Div na 100% w drugim div
Earth
post
Post #1





Grupa: Zarejestrowani
Postów: 169
Pomógł: 2
Dołączył: 6.12.2006

Ostrzeżenie: (0%)
-----


Mam problem z rozszerzeniem diva na 100%.
  1. <div id="body">
  2. <div class="row">
  3. <div class="cell">
  4. <div id="left4">1 Lewa</div>
  5. <div id="left5">2 Lewa</div>
  6. </div>
  7. <div id="center" class="cell">Środek</div>
  8. <div id="right" class="cell">Prawa kolmna</div>
  9. </div>
  10. </div>

  1. div#bg div#body {
  2.    position : relative;
  3.    display: table;
  4.  }
  5.  
  6.  
  7. .row {
  8.    display:table-row;
  9.  }
  10.  
  11.  
  12. .cell {
  13.    display : table-cell;
  14.  }
  15.  
  16.  
  17. div#body div#left4 {
  18.    height : 56px;
  19.    position: relative;
  20.    clear:right;
  21.    float:right;
  22.  }
  23.  
  24.  
  25. div#body div#left5 {
  26.    height : 100%;
  27.    position: relative;
  28.    float:right;
  29.    clear:right;
  30.  }


http://img341.imageshack.us/img341/5666/zr...kranuds0.th.png
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 10:15