Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]table w div
Ziom73
post
Post #1





Grupa: Zarejestrowani
Postów: 140
Pomógł: 1
Dołączył: 8.04.2009
Skąd: Polanica Zdrój | Poznań | Wrocław

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


Mam news:
  1. <?php
  2. <table bgcolor="#C0C0C0" width="700">
  3. <tr>
  4.    <td><font color="maroon"><h1><p style="font-family: fantasy"><span style='background-color:#EEEEEE;padding:2px'>Wielkie otwarcie!</span></p></h1></font></td>
  5. </tr>
  6. </table>
  7. <table bgcolor="#C0C0C0" width="700" height="200" >
  8. <tr>
  9. <td>
  10. <p style="font-family: arial">
  11. tu jest treść
  12. </p>
  13. </td>
  14. </tr>
  15. </table>
  16. ?>

Ale w div nie działa, ponieważ wywala pod div ;/
Jak to naprawić, lub inaczej zrobić?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Ziom73
post
Post #2





Grupa: Zarejestrowani
Postów: 140
Pomógł: 1
Dołączył: 8.04.2009
Skąd: Polanica Zdrój | Poznań | Wrocław

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


  1. <?php
  2. <div id="newst-bg">
  3. <div id="newst">
  4. <div id="news-bg">
  5. <div id="news">
  6. <center>
  7. <table bgcolor="#C0C0C0" width="700">
  8. <tr>
  9.   <td><font color="maroon"><h1><p style="font-family: fantasy"><span style='background-color:#EEEEEE;padding:2px'>Wielkie otwarcie!</span></p></h1></font></td>
  10. </tr>
  11. </table>
  12. <table bgcolor="#C0C0C0" width="700" height="200" >
  13. <tr>
  14. <td>
  15. <p style="font-family: arial">
  16. tu jest treść
  17. </p>
  18. </td>
  19. </tr>
  20. </table>
  21. </center>
  22.   </div>
  23. </div>
  24. <div id="stopka-bg">
  25. <div id="stopka">
  26.    <img src="images/stopka.png" />
  27.   </div>
  28. </div>
  29.   </div>
  30. </div>
  31. <br /><br /><br /><br />
  32. ?>
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: 12.10.2025 - 18:57