Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html/css] problem z ustawieniem divów
bluesqad
post
Post #1





Grupa: Zarejestrowani
Postów: 50
Pomógł: 6
Dołączył: 25.06.2007
Skąd: Olkusz

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


Witajcie,
mam w stylach taki kod:
  1. div#all {
  2. width : auto;
  3. height : auto;
  4. background-color : #000000;
  5. border : 0px;
  6. margin : 0 0 0 0;
  7. text-align : center;
  8. color : white;
  9. }
  10.  
  11. div#top {
  12. width : auto;
  13. height : 224px;
  14. border : 0px;
  15. margin : auto 0 auto 0;
  16. text-align : center;
  17. color : white;
  18. }
  19.  
  20. div#top1 {
  21. height : 224px;
  22. background-image : url("images/index_01.png");
  23. border : 0px;
  24. margin-right : auto;
  25. margin-left : auto;
  26. text-align : center;
  27. }
  28.  
  29. div#top2 {
  30. width : 790px;
  31. height : 224px;
  32. background-image : url("images/index_01.png");
  33. border : 0px;
  34. margin-right : auto;
  35. margin-left : auto;
  36. text-align : center;
  37. }
  38.  
  39. div#top3 {
  40. height : 224px;
  41. background-image : url("images/index_01.png");
  42. border : 0px;
  43. margin-right : auto;
  44. margin-left : auto;
  45. text-align : center;
  46. }


i na stronie www pokazuje się to w taki oto sposob: http://studioproste.pl/fotografiaslubna/
Jak ustawić w stylach zeby było to wszystko na jednym poziomie?
Środkowa część musi mieć stałą szerokość a lewa i prawa powinny dostosowywać się do różnych rozdzielczości żeby 'zapychać' przestrzeń kolorem.

Z góry dziękI za pomoc
Romek


--------------------
Studio Yaso.pl | | | | | | | | | | => 40%
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: 20.08.2025 - 11:52