Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [HTML?] Wysokośc tabeli 1, a wydłużanie innych
Forum PHP.pl > Forum > PHP
Drav
Tak an szybko, mam stronę o m/w takim układzie tabel

|---------------------------|
|..1.|...............................|
|....|...............................|
|---|...............................|
|.2..|...............................|
|.....|...............................|
|---|...............................|
|..3.|...............................|
|.....|...............................|
|---------------------------|
Gdzie pogrubione to boki tabeli.

I chciałbym, aby wraz ze wzrostem wysokości tabeli nr 4 (np poprzez dodanie tekst) zmieniała się tylko wysokość tabelki nr 2, a 3 i 1 pozostawały w tej samej. Czy jest to mozliwe? Jeśli tak to co trzeba zastosować?

Jakby co tutaj kod strony od znacznika body:
  1. <body style="background-color: #000000; background-image: url('background.png'); background-repeat: repeat-x">
  2.  
  3. <!-- Nagłówek -->
  4.  
  5. <table width="1000px" height="63px" cellspacing="0" cellpadding="0">
  6. <tr>
  7. <td id="naglowek">
  8. </td>
  9. </tr>
  10. </table>
  11.  
  12. <!-- Logo -->
  13.  
  14. <table width="1000px" height="250px" cellspacing="0" cellpadding="0">
  15. <tr>
  16. <td id="logo">
  17. </td>
  18. </tr>
  19. </table>
  20.  
  21. <!-- top -->
  22.  
  23. <table width="1000px" height="34px" cellspacing="0" cellpadding="0">
  24. <tr>
  25. <td id="top">
  26. </td>
  27. </tr>
  28. </table>
  29.  
  30. <!-- Tresc -->
  31.  
  32. <table width="1000px" style="height: 520px" cellspacing="0" cellpadding="0">
  33. <tr>
  34. <td id="left"style="width: 50px">
  35. &nbsp;</td>
  36. <td style="width: 614px" rowspan="3" id="tresc">
  37. &nbsp;</td>
  38. <td id="menu_up_left" style="width: 25px; height: 230px;">
  39. &nbsp;</td>
  40. <td id="menu_in" style="width: 228px; height: 230px;" >
  41. &nbsp;</td>
  42. <td id="menu_up_right" style="width: 33px; height: 230px;">
  43. &nbsp;</td>
  44. <td id="right"style="width: 50px">
  45. &nbsp;</td>
  46. </tr>
  47. <tr>
  48. <td id="left_full"style="width: 50px; height: 20px;">
  49. &nbsp;</td>
  50. <td id="menu_middle_left" style="width: 25px; height: 185px;">
  51. &nbsp;</td>
  52. <td id="menu_in" style="width: 33px; height: 20px;">
  53. &nbsp;</td>
  54. <td id="menu_middle_right"style="width: 33px">
  55. &nbsp;</td>
  56. <td id="right_full"style="width: 50px">
  57. &nbsp;</td>
  58. </tr>
  59. <tr>
  60. <td id="left_full"style="width: 50px; height: 105px;">
  61. &nbsp;</td>
  62. <td id="menu_bottom_left" style="height: 105px">
  63. &nbsp;</td>
  64. <td style="height: 105px" >
  65. &nbsp;</td>
  66. <td id="menu_bottom_right"style="height: 105px; width: 33px;" >
  67. &nbsp;</td>
  68. <td id="right_full"style="width: 50px; height: 105px;">
  69. &nbsp;</td>
  70. </tr>
  71. </table>
  72.  
  73. <!-- stopka -->
  74.  
  75. <table width="1000px" height="86px" cellspacing="0" cellpadding="0">
  76. <tr>
  77. <td id="stopka">
  78. </td>
  79. </tr>
  80. </table>
  81.  
  82. </body>
erix
Ale masz bałagan... :S

Po pierwsze: http://osiolki.net
Po drugie: rowspan.
Po trzecie: przejdziesz na CSS, to ze mną porozmawiasz. tongue.gif
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.