Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [XHTML] Problem z IE 7
rafaelpl
post
Post #1





Grupa: Zarejestrowani
Postów: 40
Pomógł: 0
Dołączył: 16.01.2008
Skąd: Pszczyna

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


Witam!

Oto kod odpowiedzialny za wyświetlanie topu strony:

  1. <div id="top1_1"><img src="images/top1_1.png" alt="" /></div>
  2. <div id="top1_2">Zaloguj :: Zarejestruj :: Zapomniałem hasła</div>
  3. <div id="top1_3"><img src="images/top1_3.png" alt="" /></div>
  4. <div id="top2"><img src="images/top2.png" alt="" /></div>
  5. <div id="top3_1">
  6. <a href="#">
  7. <img src="images/top3_1_0.png" onmouseover="this.src='images/top3_1_1.png'" onmouseout="this.src='images/top3_1_0.png'" alt="" style="border:0px;" />
  8. </a>
  9. </div>
  10. <div id="top3_2">
  11. <a href="#">
  12. <img src="images/top3_2_0.png" onmouseover="this.src='images/top3_2_1.png'" onmouseout="this.src='images/top3_2_0.png'" style="border:0px;" alt="" />
  13. </a>
  14. </div>
  15. <div id="top3_3">
  16. <a href="#">
  17. <img src="images/top3_3_0.png" onmouseover="this.src='images/top3_3_1.png'" onmouseout="this.src='images/top3_3_0.png'" style="border:0px;" alt="" />
  18. </a>
  19. </div>
  20. <div id="top3_4"><img src="images/top3_4.png" alt="" /></div>
  21. <div id="top4_1"><img src="images/top4_1.png" alt="" /></div>
  22. <div id="top4_2">
  23. <div class="top_pop" style="background:url(images/test.gif);">
  24. <div class="top_black">Kimi Dress Up</div>
  25. </div>
  26. </div>
  27. <div id="top4_3"><img src="images/top4_3.png" alt="" /></div>
  28. <div id="top4_4">
  29. <div class="top_pop" style="background:url(images/test.gif);">
  30. <div class="top_black">Kimi Dress Up</div>
  31. </div>
  32. </div>
  33. <div id="top4_5"><img src="images/top4_5.png" alt="" /></div>


CSS:

  1. #top1_1{
  2. width:289px;
  3. height:25px;
  4. float:left;
  5. }
  6.  
  7. #top1_2{
  8. background:url(images/top1_2.png);
  9. width:338px;
  10. height:25px;
  11. float:left;
  12. color:#53729f;
  13. text-align:center;
  14. font-weight:bold;
  15. line-height:23px;
  16. }
  17.  
  18. #top1_3{
  19. width:141px;
  20. height:25px;
  21. float:right;
  22. }
  23.  
  24. #top2{
  25. width:768px;
  26. height:105px;
  27. clear:both;
  28. }
  29.  
  30. #top3_1{
  31. width:141px;
  32. height:53px;
  33. float:left;
  34. }
  35.  
  36. #top3_2{
  37. width:129px;
  38. height:53px;
  39. float:left;
  40. }
  41.  
  42. #top3_3{
  43. width:129px;
  44. height:53px;
  45. float:left;
  46. }
  47.  
  48. #top3_4{
  49. width:369px;
  50. height:53px;
  51. float:left;
  52. }
  53.  
  54. #top4_1{
  55. width:236px;
  56. height:128px;
  57. float:left;
  58. }
  59.  
  60. #top4_2{
  61. background:url(images/top4_2.png);
  62. width:171px;
  63. height:128px;
  64. float:left;
  65. }
  66.  
  67. #top4_3{
  68. width:37px;
  69. height:128px;
  70. float:left;
  71. }
  72.  
  73. #top4_4{
  74. background:url(images/top4_4.png);
  75. width:170px;
  76. height:128px;
  77. float:left;
  78. }
  79.  
  80. #top4_5{
  81. width:154px;
  82. height:128px;
  83. float:left;
  84. }


Pod Firefoxem wszystko wyświetla dobrze, niestety pod IE 7 poszczególnie elementy topu się rozchodzą:

(IMG:http://images32.fotosik.pl/185/a773148af41968e1m.jpg)

W jaki sposób dostosować top pod Micro$oft IE 7?

Z góry dziękuję za odpowiedź.
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: 22.08.2025 - 23:20