![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 284 Pomógł: 0 Dołączył: 25.03.2007 Skąd: Globalna wioska Ostrzeżenie: (0%) ![]() ![]() |
Parę lat temu kiedy jeszcze mama chodziła na wywiadówki tworzono strukturę strony za pomocą <table>. Od tamtego momentu minęło duuuużo czasu i się wiele pozmieniało.
Pytanie jest moje takie jak mam zapisać poniższy kod za pomocą bloków div? Mógł by mi ktoś to prze konwertować żeby zrozumiał filozofię div i nie tylko (...) Kod <div align="center">
<table border="1" width="800" cellspacing="0" cellpadding="0" height="100" id="table1"> <tr> <td> </td> </tr> </table> </div> <div align="center"> <table border="1" width="800" cellspacing="0" cellpadding="0" height="100%" id="table2"> <tr> <td width="150"> </td> <td> </td> <td width="150"> </td> </tr> </table> </div> <div align="center"> <table border="1" width="800" cellspacing="0" cellpadding="0" height="150" id="table3"> <tr> <td> </td> <td> </td> </tr> </table> </div> |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 127 Pomógł: 32 Dołączył: 8.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Pytanko: Czemu nie zostawisz tabelek? Co złego w tabelkach?
Poza tym mogłeś po prostu zamienić <table> na <div style="display:table"> <tr> na <div style="display:table-row"> <td> na <div style="display:table-cell"> (IMG:style_emoticons/default/biggrin.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 19:50 |