Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][DIV]
random
post 6.06.2010, 12:54:13
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 4.08.2009

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


Witam ponownie,
próbuję zrobić na Div to co mi nie wychodziło na <table>
niestety mam problem
Nie mogę na IE zrobić tak jak wygląda w FF:

http://www.deba.pl/strona/

chodzi o automatyczne rozszerzenie boków i wycentrowanie środka.
szukam i szukam i nie mogę znaleźć.
Pozdrawiam
RaN

  1.  
  2. <style type="text/css" media="screen">
  3. .glowna {width:100%;}
  4. .lewa {
  5. width:50%;
  6. height:339px;
  7. float:left;
  8. background-image:url(1.jpg);
  9. background-repeat:repeat;
  10. margin-left:-383px;
  11. }
  12. .srodek {
  13. position:relative;
  14. margin:auto;
  15. background-image:url(2.gif);
  16. background-repeat:no-repeat;
  17. width:766px;
  18. height:339px;
  19. }
  20. .prawa {
  21. position:relative;
  22. width:50%;
  23. height:339px;
  24. float:right;
  25. background-image:url(3.jpg);
  26. background-repeat:repeat-x;
  27. margin-right:-383px;
  28. margin:auto;
  29. }
  30.  
  31. .body{
  32. margin-bottom:0;
  33. margin-right:0;
  34. margin-left:0;
  35. margin-top:0
  36. }
  37.  
  38. </head>
  39.  
  40. <body class="body">
  41.  
  42. <div class="glowna">
  43. <div class="lewa"></div>
  44. <div class="prawa"></div>
  45. <div class="srodek"></div>
  46.  
  47. </div>
  48.  
  49.  
  50.  
  51.  
  52.  
  53. </body>
  54. </html>
Go to the top of the page
+Quote Post
athei
post 6.06.2010, 14:41:00
Post #2





Grupa: Zarejestrowani
Postów: 389
Pomógł: 141
Dołączył: 11.04.2009

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


było link, tylko że tamtej osobie nie chciało się szukać, odp. jest na 1 stronie.
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 14.08.2025 - 10:45