Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z menu pod Operą
hieroshima
post
Post #1





Grupa: Zarejestrowani
Postów: 83
Pomógł: 6
Dołączył: 4.04.2010

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


Witam, mam taki oto problem na przeglądarce Opera. Kiedy strona się ładuje menu wyświetla się tak jak poniżej na obrazku, natomiast kiedy najadę myszą na link poprawi się i zacznie się poprawnie wyświetlać. Problem taki występuje tylko na operze.

(IMG:http://img243.imageshack.us/img243/6550/menur.jpg)

Tutaj kod html menu:

  1. <div id="menu">
  2. <ul>
  3. <li><a href="#" class="active">Start</a></li>
  4. <li><a href="rezerwacja.htm">Rezerwacja</a></li>
  5. <li><a href="galeria.htm">Galeria</a></li>
  6. <li><a href="poradnik.htm">Poradnik</a></li>
  7. </ul>
  8. </div><!-- Zamyka menu -->


A tu kod css:
  1.  
  2. #menu {
  3. width: 780px;
  4. height: 73px;
  5. background: url('images/menu2.png') no-repeat;
  6. }
  7.  
  8. #menu ul {
  9. margin-left: 200px;
  10. padding-top: 19px;}
  11.  
  12. #menu ul li {
  13. line-height: 50px;
  14. font-family: arial, sans-serif;
  15. font-size: 13px;
  16. display: block;
  17. list-style: none;
  18. padding: 0;
  19. margin: 0;
  20. float: left;
  21. text-align: center;
  22. padding-left: 5px;
  23. }
  24.  
  25. #menu a:link, #menu a:visited {
  26. text-decoration: none;
  27. display: block;
  28. width: 100px;
  29. height: 54px;
  30. color: #717171;
  31. font-weight: bold;
  32. float: left;
  33. }
  34.  
  35. #menu a:hover, #menu a.active{
  36. background: url('images/hover.png') no-repeat;
  37. font-weight: bold;
  38. text-decoration: none;
  39. color: white;
  40. }


Za pomoc dziękuje (IMG:style_emoticons/default/winksmiley.jpg)
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: 15.09.2025 - 02:51