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%)
-----


Zrobiłem to bez table, bo same problemy są ;p :
  1. <?php
  2. <div id="newst-bg">
  3. <div id="newst">
  4. <div id="news-bg">
  5. <div id="news">
  6. <font color="maroon"><h1><p style="font-family: fantasy">Wielkie otwarcie!</p></h1><hr></font>
  7. tu jest tekst
  8.   </div>
  9. </div>
  10. <div id="stopka-bg">
  11. <div id="stopka">
  12.    <img src="images/stopka.png" alt="Powered By Ziom73 And PHPLogin, ˆ2008-2009" />
  13.   </div>
  14. </div>
  15.   </div>
  16. </div>
  17. <br /><br /><br /><br />
  18. ?>


Mam 2 pytanie jak zrobić aby <hr> był bezpośrednio pod tekstem, a nie 3 linijki pod?

Ten post edytował Ziom73 20.07.2009, 15:45:49
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 13.10.2025 - 22:59