Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML/ XHTML]Problem z tabelkami
henio
post 15.02.2007, 14:07:49
Post #1





Grupa: Zarejestrowani
Postów: 237
Pomógł: 1
Dołączył: 15.10.2004
Skąd: Lublin

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


  1. <?xml version="1.0" encoding="ISO-8859-2"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3.  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
  5. <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
  6. </head>
  7. <table width="100%" cellspacing="0" cellpadding="5">
  8. <tr>
  9.      <td colspan="2" bgcolor="#808080">
  10.            <table width="100%" cellspacing="0" cellpadding="5">
  11.            <tr>
  12.                  <td align="center" valign="middle" bgcolor="white"> <br><b>LOGO</b><br /> </td>
  13.            </tr>
  14.            </table>
  15.      </td>
  16. </tr>
  17. <tr>
  18.      <td width="100" valign="top" bgcolor="#A0A0A0">
  19.            <table width="100%" cellspacing="0" cellpadding="5">
  20.            <tr>
  21.                  <td bgcolor="white"><b>MENU</b><br />- Link 1<br />- Link 2<br />- Link 3</td>
  22.            </tr>
  23.            </table>
  24.            <br />
  25.            <table width="100%" cellspacing="0" cellpadding="5">
  26.            <tr>
  27.                  <td bgcolor="white"><b>MENU 2</b><br />- Link</td>
  28.            </tr>
  29.            </table>
  30.      </td>
  31.      <td valign="top" bgcolor="#C0C0C0">
  32.            <table width="100%" cellspacing="0" cellpadding="5">
  33.            <tr>
  34.                  <td height="100%" valign="top" bgcolor="white"><b>TREŚĆ STRONY</b><br /><br />Jakis tekst...</td>
  35.            </tr>
  36.            </table>
  37.      </td>
  38.      <td width="100" valign="top" bgcolor="#A0A0A0">
  39.            <table width="100%" cellspacing="0" cellpadding="5">
  40.            <tr>
  41.                  <td bgcolor="white"><b>MENU</b><br />- Link 1<br />- Link 2<br />- Link 3</td>
  42.            </tr>
  43.            </table>
  44.            <br />
  45.            <table width="100%" cellspacing="0" cellpadding="5">
  46.            <tr>
  47.                  <td bgcolor="white"><b>MENU 2</b><br />- Link</td>
  48.            </tr>
  49.            </table>
  50.      </td>
  51. </tr>
  52. <tr>
  53.      <td colspan="2" align="center" bgcolor="#808080">
  54.            <table width="100%" cellspacing="0" cellpadding="3">
  55.            <tr>
  56.                  <td align="center" valign="middle" bgcolor="white"><b>STOPKA</b></td>
  57.            </tr>
  58.            </table>
  59.      </td>
  60. </tr>
  61. </body>
  62. </html>


Chciałem przed zastosowaniem php zrobić szkielet strony i coś jest nie tak. Źle mi się wyświetla

Ten post edytował henio 15.02.2007, 14:12:51
Go to the top of the page
+Quote Post
nospor
post 15.02.2007, 14:16:23
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Cytat
Źle mi się wyświetla
WOW, nie ma to jak fachowy opis problemu...

pozmieniaj colspan="2" na colspan="3" i bedzie sie dobrze wyswietlalo (przynajmniej wedlug mnie, bo moze tobie chodzilo o inne "źle wyswietlanie").
Srodkowy wiersz ma 3 kolumny, wiec gorny i dolny powinien laczyc 3 kolumny a nie dwie


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
henio
post 15.02.2007, 15:51:27
Post #3





Grupa: Zarejestrowani
Postów: 237
Pomógł: 1
Dołączył: 15.10.2004
Skąd: Lublin

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


Masz racje. Sorrki za opis, ale nie wiedziałem jak to ująć
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 18.07.2025 - 00:44