Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html] za duze odstepy miedzy divami IE
tomek_13
post
Post #1





Grupa: Zarejestrowani
Postów: 42
Pomógł: 0
Dołączył: 21.06.2009

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


  1. <div style="margin-top: 25px; margin-left: 70px;">
  2.  
  3. <!-- div_1 -->
  4. <div style="margin: 0px; padding:0px;">
  5. <div style="float: left; width: 200px; display: inline">sdfsdf</div>
  6. <div style="float: left; ">sdfsdfsdf</div>
  7. <span style="clear: both;">&nbsp;</span>
  8. </div>
  9.  
  10. <!-- div_2 -->
  11. <div style="margin: 0px; padding:0px;">
  12. <div style="float: left; width: 200px; display: inline">sdfsdfsdfds</div>
  13. <div style="float: left;">sdfsdf</div>
  14. <span style="clear: both;">&nbsp;</span>
  15. </div>
  16.  
  17. <!-- div_3 -->
  18. <div style="margin: 0px; padding:0px;">
  19. <div style="float: left; width: 200px;display: inline ">sdfdsfdsfdsf</div>
  20. <div style="float: left;">dsfsdfdsf</div>
  21. <span style="clear: both;">&nbsp;</span>
  22. </div>
  23.  
  24. <!-- div_4 -->
  25. <div style="margin: 0px padding:0px;;">
  26. <div style="float: left; width: 200px; display: inline">dsfdfsdfsdfsd</div>
  27. <div style="float: left; ">sdfsdfdsfsdfdsfds</div>
  28. <span style="clear: both;">&nbsp;</span>
  29. </div>
  30.  
  31. </div>
  32.  


pod normalnymi przegladarkami dziala dobrze natomiast w IE sa za duze odstepy miedzy div1 div2 div3 i div4
znalazlem gdzies ze display: inline powinno pomoc
ale tutaj mi nie pomaga, moze w zlym miejscu je dalem
jak mozna rozwiazac ten problem (IMG:style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
tomek_13
post
Post #2





Grupa: Zarejestrowani
Postów: 42
Pomógł: 0
Dołączył: 21.06.2009

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


kod ktory podales dziala dla ie natomiast w pozostalych przegladarkach dziala nie prawidlowo
ale po dodaniu szerokosci do glownego diva wszystko dziala dobrze w 3 przegladarkach
dzieki (IMG:style_emoticons/default/smile.gif)
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: 29.09.2025 - 04:06