Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [htm] wyśrodkowanie tabeli
nieraczek
post
Post #1





Grupa: Zarejestrowani
Postów: 405
Pomógł: 6
Dołączył: 12.01.2007

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


Błagam pomóżcie wyśrodkować tabelę w poziomie i pionie - pytałem o to w dziale "przedszkole" i nikt nie podał dobrego sposobu - to wydaje się takie proste a nikt nie wie sad.gif

dokument html:
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  2. <link rel="stylesheet" type="text/css" href="dokument.css" />
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>Untitled Document</title>
  5. </head>
  6.  
  7.  
  8.  
  9. <div class="pudlo">
  10. <table class="tab">
  11. <tr>
  12. <td>komorka</td>
  13. </tr>
  14. </div>
  15.  
  16. </body>
  17. </html>



dokument css:
  1. .pudlo
  2. {
  3. width: 100%;
  4. height: 700px;
  5. }
  6.  
  7.  
  8. .tab
  9. {
  10. background: rgb(255, 165, 0);
  11. width: 10%;
  12. }
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 17:08