Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z górnym menu w IE 6
Guli
post
Post #1





Grupa: Zarejestrowani
Postów: 14
Pomógł: 0
Dołączył: 25.04.2007

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


Nie wiem co jest nie tak ale jak wyświetlam stronę w przegladarce IE 6 to menu górne jest szersze (height) niz w Firefoxie. W Firefoxie jest idealnie. Jak poprawić w IE 6 aby szerokość menu była taka sama jak pod Firefoxem ?

Tutaj wygląd pod Firefox:
http://www.fotosik.pl/pokaz_obrazek/d51dac19b2ae93f1.html

Tutaj załączam jak wygląda pod IE 6
http://www.fotosik.pl/pokaz_obrazek/9a63598142ad14ba.html

Kod XHTML:
  1. <div id="menu">
  2. <ul>
  3. <li><a href="" title="">Blog</a></li>
  4. <li class="tlo"><a href="" title="">menu</a></li>
  5. <li class="tlo"><a href="" title="">menu2</a></li>
  6. <li class="tlo"><a href="" title="">menu3</a></li>
  7. <li class="tlo"><a href="" title="">menu4</a></li>
  8. </ul>
  9. </div>


Kod css:
  1. DIV#menu {
  2.  
  3. height: 33px;
  4. background: url(images/tlo.png) #292929 repeat-x;
  5. position: relative;
  6. }
  7.  
  8. DIV#menu UL {
  9.  
  10. height: 33px;
  11. float: left;
  12.  
  13. }
  14.  
  15. DIV#menu LI {
  16.  
  17. line-height: 33px;
  18. list-style-type: none;
  19. float: left;
  20. text-transform: uppercase;
  21. font-size: 1.1em;
  22. font-weight: bold;
  23.  
  24. }
  25.  
  26. DIV#menu A {
  27.  
  28. display: block;
  29. color: #BFC1BE;
  30. background: url(images/tlo.png) #292A2A 0px 0px repeat-x;
  31. text-decoration: none;
  32. padding: 0px 20px;
  33. float: left;
  34.  
  35. }
  36.  
  37. DIV#menu A:hover {
  38.  
  39. color: #FFFFFF;
  40. background: url(images/tlo.png) #292A2A 0px -33px repeat-x;
  41.  
  42. }
  43.  
  44. DIV#menu IMG {
  45.  
  46. padding-right: 4px;
  47. margin-bottom: -1px;
  48. float: left;
  49. position: relative;
  50. top: 1px;
  51. }


Tu jest tło w .png, które wykorzystuję do menu (jakby ktoś chciał sprawdzić to można sciągnąć):
http://www.fotosik.pl/pokaz_obrazek/8ca3a9b949f610c1.html
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: 19.08.2025 - 19:17