Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> W IE DIV zwiększa wysokość.
starach
post 12.06.2007, 01:11:10
Post #1





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

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


Internet Explorer mi świruje coś co powinno mieć 3 piksle ma wiele więcej.
  1. div#menu { margin:10px; width:200px; height:350px; background:url('images/panel/s.gif'); }
  2. div#menu .pane_cnt { width:194px; height:344px; }
  3. div#menu .dl { width:3px; height:3px; background:url('images/panel/dl.gif'); }
  4. div#menu .dp { width:3px; height:3px; background:url('images/panel/dp.gif'); }
  5. div#menu .gl { width:3px; height:3px; background:url('images/panel/gl.gif'); }
  6. div#menu .gp { width:3px; height:3px; background:url('images/panel/gp.gif'); }
  7. div#menu .l { width:3px; height:344px; background:url('images/panel/l.gif'); }
  8. div#menu .d { width:194px; height:3px; background:url('images/panel/d.gif'); }
  9. div#menu .p { width:3px; height:344px; background:url('images/panel/p.gif'); }
  10. div#menu .g { width:194px; height:3px; background:url('images/panel/g.gif'); }
  11. <div id="menu">
  12. <div class="gl"></div><div class="g"></div><div class="gp"></div>
  13. <div class="l"></div><div class="pane_cnt"></div><div class="p"></div>
  14. <div class="dl"></div><div class="d"></div><div class="dp"></div>
  15. </div>

Tak to wygląda w IE:

A tak powinno wyglądać:
Go to the top of the page
+Quote Post
sticker
post 12.06.2007, 07:10:33
Post #2





Grupa: Zarejestrowani
Postów: 611
Pomógł: 19
Dołączył: 28.02.2005
Skąd: Wrocław

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


ie jak sie nie myle zwieksza wielkość diva do wielkości czcionki wiec daj jeszcze w tych 3px divach font-size:1px; i sprawdz co sie stanie (miałem podobny problem i jakos tak z niego wybrnąłem)

Ten post edytował sticker 12.06.2007, 07:10:51


--------------------
Go to the top of the page
+Quote Post
babejsza
post 12.06.2007, 07:12:17
Post #3





Grupa: Zarejestrowani
Postów: 407
Pomógł: 1
Dołączył: 4.03.2003
Skąd: warszawa

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


  1. ...
  2. div#menu .dl { width:3px; height:3px; background:url('images/panel/dl.gif'); font-size: 1px}
  3. ...


Powinno pomóc. Ogólnie IE rezerwuje miejsce dla treśc i stąd ten problem.
Go to the top of the page
+Quote Post
barat
post 12.06.2007, 09:39:53
Post #4





Grupa: Zarejestrowani
Postów: 183
Pomógł: 0
Dołączył: 19.05.2007

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


nie powinno - a pomoże smile.gif sam rok temu głowiłem się na tym smile.gif
Po prostu IE jest "mądry inaczej"
Go to the top of the page
+Quote Post
starach
post 12.06.2007, 17:25:44
Post #5





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

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


Dziękuję wam uprzejmie pomogło.
Solved smile.gif
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: 16.07.2025 - 08:03