Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript][HTML][CSS]Rozwijane menu, Z menu zwykłego
Johnas
post
Post #1





Grupa: Zarejestrowani
Postów: 650
Pomógł: 16
Dołączył: 5.07.2010
Skąd: Ściśle Tajne

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


Witam mam takie menu na stronce TEJ

html
  1. <nav>
  2. <ul>
  3. <li class="act"><a href="http://osc4.template-help.com/wt_30725/index.html#">Strona główna</a></li>
  4. <li><a href="http://osc4.template-help.com/wt_30725/index.html#">Mój profil</a></li>
  5. <li><a href="http://osc4.template-help.com/wt_30725/index.html#">Znajomi</a></li>
  6. <li><a href="http://osc4.template-help.com/wt_30725/index.html#">Poczta</a></li>
  7. </ul>
  8. </nav>

I css:
  1. /* ============================== header START =================================== */
  2.  
  3. nav {
  4. position: absolute;
  5. top: 68px;
  6. right: -1px;
  7. }
  8.  
  9. nav ul {
  10. overflow: hidden;
  11. }
  12.  
  13. nav ul li {
  14. float: left;
  15. padding: 0 0 0 1px;
  16. }
  17.  
  18. nav ul li a {
  19. background: url(../images/menu-tail.png) repeat-x 0% 100%;
  20. float: left;
  21. height: 67px;
  22. overflow: hidden;
  23. padding: 0 19px 0 19px;
  24. line-height: 70px;
  25. font-size: 1.417em;
  26. text-decoration: none;
  27. color: #9a9a9a;
  28. }
  29.  
  30. nav ul li.act a {
  31. background: url(../images/menu-tail-act.png) repeat-x 0% 0%;
  32. color: #fff;
  33. }
  34.  
  35. nav ul li a:hover {
  36. background: url(../images/menu-tail-act.png) repeat-x 0% 0%;
  37. color: #fff;
  38. }
  39.  
  40. /* =============================== header END ==================================== */


co mam zrobić aby było z tego menu rozwijane?


--------------------
Jak coś jest dobre, to nie znaczy że nie może być to lepsze - Ideały nie istnieją ;D
Strony internetowe Świnoujście
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
nekomata
post
Post #2





Grupa: Zarejestrowani
Postów: 314
Pomógł: 44
Dołączył: 12.11.2010
Skąd: UK

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


1 2
20 sec z google?
Go to the top of the page
+Quote Post
Johnas
post
Post #3





Grupa: Zarejestrowani
Postów: 650
Pomógł: 16
Dołączył: 5.07.2010
Skąd: Ściśle Tajne

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


Witam mam pewien problem Na tej stronce menu podczas wysuwania odnosnika 4 i 5 chowa się pod obrazki... Jak temu zapobiec ?


--------------------
Jak coś jest dobre, to nie znaczy że nie może być to lepsze - Ideały nie istnieją ;D
Strony internetowe Świnoujście
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 Aktualny czas: 20.08.2025 - 04:36