Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Ach te, cssy... :(
Jarod
post
Post #1





Grupa: Zarejestrowani
Postów: 1 190
Pomógł: 27
Dołączył: 23.04.2005

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


Hmm.. Nawet nie wiem jak to opisać. Sami zobaczcie

a.css
Kod
body {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    font-family: verdana, arial, helvetica, sans-serif;
    color: #3232CD;
    background-color: #DBDBDB;
    }

#left {
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 2px;
    padding: 1px;
    border: 1px solid #ccc;
    background: #D9A300;
    width: 185px;
    }
html>body #left {
    width: 185px; /* ie5win fudge ends */
    }

#middle {
        margin-top: 2px;
        margin-left: 192px;
        margin-right: 2px;
    padding: 5px;
    border: 1px solid #ccc;
    background: #666;
/*    background: #DBDBDB; */
        }

p {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
    }

pre {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
        }


a.php
  1. <?php
  2.  
  3. <!DOCTYPE HTML PUBLIC &#092;"-//W3C//DTD HTML 4.0 Transitional//EN\">
  4. <html>
  5. <head>
  6. <meta http-equiv=&#092;"Content-Type\" content=\"text/html; charset=iso-8859-2\"/>
  7. <meta name=&#092;"pragma\" content=\"no-cache\" />
  8. <title>Wypełnianie formularza...</title>
  9. <link rel=&#092;"stylesheet\" type=\"text/css\" href=\"a.css\" />
  10. </head>
  11. <body>
  12.  
  13. <div id=&#092;"left\">
  14. <p>11111111111111111111</p>
  15. <p>11111111111111111111</p>
  16. <p>11111111111111111111</p>
  17. <p>11111111111111111111</p>
  18.  
  19. </div>
  20.  
  21. <div id=&#092;"middle\">
  22. <pre>przyklad</pre>
  23. <pre>przyklad</pre>
  24. <pre>przyklad</pre>
  25.  
  26. </div>
  27.  
  28.  
  29. </body>
  30. </html>
  31.  
  32. ?>


Wraz z każdym dodaniem np <p>11111111111111111111</p> lub <pre>przyklad</pre> menu rozszerza sie. Ale jak między <p></p> wstawiam tabele to dopiero jest jazde - prawie trójwymiar. Jak to porządnie zrobić? W tabelach chcę wstawić formularz rejestracyjny.

I druga sprawa jak rozciągnąć to lewe menu i środek do końca przegląarki?
Go to the top of the page
+Quote Post

Posty w temacie
- J4r0d   Ach te   19.05.2005, 03:16:16
- - Zajec   Cytat(J4r0d @ 2005-05-19 03:16:16)W tabelach ...   19.05.2005, 07:10:22
- - J4r0d   Zrobiłem Twoim sposobem Wynik   19.05.2005, 18:20:43
- - revyag   po dive zamykającym #middle daj: Kod<br style=...   20.05.2005, 08:42:19


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: 22.08.2025 - 22:42