Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> uklad divow (px + %)
GrayHat
post
Post #1





Grupa: Zarejestrowani
Postów: 566
Pomógł: 18
Dołączył: 23.08.2003
Skąd: Łomża

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


mam taki uklad:

| div1 = 200px | | div2 | | div3 = 200px |

i teraz moj problem:
jak rozciagnac div2 na maxymalna szerokosc??
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
GrayHat
post
Post #2





Grupa: Zarejestrowani
Postów: 566
Pomógł: 18
Dołączył: 23.08.2003
Skąd: Łomża

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


niestety to nie to :/
moze spojz w kod:

http://h4x.pl/funworld/template.html
Go to the top of the page
+Quote Post
mike
post
Post #3





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

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


Cytat(GrayHat @ 11.06.2006, 23:56 ) *
niestety to nie to :/

Śmiem się kłócić (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
  1. <style type="text/css">
  2. div#container {
  3. margin: auto;
  4. width: 600px;
  5. }
  6.  
  7. div#left, div#right {
  8. float: left;
  9. width: 200px;
  10. height: 200px;
  11. background-color: #f00;
  12. }
  13.  
  14. div#right {
  15. float: right;
  16. }
  17.  
  18. div#middle {
  19. margin: 0px 200px;
  20. height: 300px;
  21. background-color: #00f;
  22. }
  23.  
  24. <div id="container">
  25. <div id="left"></div>
  26. <div id="right"></div>
  27. <div id="middle"></div>
  28. </div>


P.S.
Zainwestuj w max-width (niestety bez IE) bo strona bedzie śmiesznie wyglądać przy dużych rozdzielczościach.
Na 1152x864 juz wygląda jakby się niechcący rozlazła.
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: 4.10.2025 - 14:26