Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Scroll, Chciałbym wstawic scrola.
bigshow
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 4.11.2010

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


Mam pytanie : na mojej stronę bigshow.cba.pl chciałbym wstawić takie coś do przewijania góra/dół ale tylko w miejsce "warto zobaczyć" w to menu. Bo jak wstawie tam więcej to cała strona idzie w dół a ja chciał bym mały kawałek. Coś podobnego do tego jak jest na http://patrz.pl/filmy/digerati-epizod-15 to nadole menu "podobne Pliki.

O to kod CSS Strony :
  1. a:link, a:visited, a:active {color: #8F8E8E;text-decoration: none;}
  2. a:hover {color: #000;text-decoration: underline;}
  3.  
  4. body{ font-family: verdana,tahoma;font-size: 11px;color: #A4A1A1;background:#232323;}
  5. td { font-family: verdana,tahoma;font-size: 11px;color: #A4A1A1;}
  6.  
  7.  
  8. .topp {background: url(images/gora.jpg); height:26px;width:770px; text-align:right;}
  9.  
  10. .logo {background: url(images/czyste_logo.jpg); width:770px;height:130px;}
  11.  
  12. .menul{background: url(images/tlo_m.jpg); width:166px;}
  13. .menup{background: url(images/tlo_pm.jpg); width:166px;}
  14. .srodek{background: url(images/tlo_srodek.jpg); width:438px;}
  15. .topm {display:block; background: url(images/top_m.jpg); width:166px;height:27px;}
  16. .kreska {display:block; background:#A7D631; width:100%;height:2px;}
  17.  
  18.  
  19. .odst {padding:6px 5px 2px 10px;font-weight:bold;color:#000}
  20. .odst2 {padding:6px 15px 2px 10px;font-weight:bold;color:#000;text-align:right;}
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. .l_menu ul {list-style: none;margin: 0; padding: 0; border: none; }
  28. .l_menu li {margin: 0; width:166px;height:27px;}
  29. .l_menu li a, .l_menu li a:link, .l_menu li a:visited
  30. {display: block;font-size: 11px;font-weight:normal;color:#3F3F3F; text-decoration: none;background: url(images/tlo_m1.jpg); width:166px;height:23px;padding:3px 0px 0px 0px}
  31. .l_menu li a:hover {background: url(images/tlo_m2.jpg); width:166px;height:27px;font-weight:bold;}
  32.  
  33.  
  34. .p_menu ul {list-style: none;margin: 0; padding: 0; border: none; }
  35. .p_menu li {margin: 0; width:160px;height:27px;text-align:right;}
  36. .p_menu li a, .p_menu li a:link, .p_menu li a:visited
  37. {display: block;font-size: 11px;font-weight:normal;color:#3F3F3F; text-decoration: none;background: url(images/tlo_m1.jpg); width:166px;height:23px;padding:3px 0px 0px 0px}
  38. .p_menu li a:hover {background: url(images/tlo_m2.jpg); width:166px;height:27px;font-weight:bold;}
  39.  
  40.  
  41.  
  42. .news{color:#4B4B4B;text-align:justify;padding:6px;}
  43.  
  44. img {border: 0px;}
  45.  
  46. .dol1 {background: url(images/dol1.jpg); width:166ppx;height:27px;}
  47. .dol3 {background: url(images/dol3.jpg); width:166ppx;height:27px;}
  48. .dol2 {background: url(images/dol2.jpg); width:438ppx;height:27px;}
  49.  
  50. .stopka {text-align:center;font-weight:bold;font-size:10px}
  51. .stopka div a, .stopka div a:link, .stopka div a:visited {text-align:center;font-weight:bold;font-size:10px;color:gray}


A to kod HTML :
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
  2. <title>BigShoW</title>
  3. <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
  4. <link rel="stylesheet" href="style.css" type="text/css">
  5.  
  6. <table cellpadding="0" cellspacing="0" align="center" border="0">
  7. <TR><TD class="topp" colspan="3">
  8. <a href="index.html">Strona główna</a> |
  9. <a href="video.html">Video</a> |
  10. <a href="komentarze.php">Komentarze</a> |
  11. <a href="forum.html">Forum</a> &nbsp;&nbsp;&nbsp;
  12. </td></tr>
  13. <tr><Td class="logo" colspan="3"></td></tr>
  14. <TR>
  15. <TD class="menul" valign="top">
  16. <div class="topm"><div class="odst">Menu główne</div></div>
  17. <div class="l_menu">
  18. <ul>
  19. <li > <a href="index.html">&nbsp; + Strona główna</a> </li>
  20. <li > <a href="kontakt.html">&nbsp; + Kontakt</a> </li>
  21. <li > <a href="konkurs.html">&nbsp; + Konkurs</a> </li>
  22. <li > <a href="video.html">&nbsp; + Video</a> </li>
  23. <li > <a href="forum.html">&nbsp; + Forum</a> </li>
  24. <li > <a href="ankieeta.php">&nbsp; + Ankieta</a> </li>
  25. <li > <a href="komentarze.php">&nbsp; + Komentarze</a> </li>
  26. </ul></div>
  27. </td>
  28.  
  29.  
  30. <TD class="srodek" valign="top">
  31. <div class="news">
  32. <B>Niedziela, 28.01.2007r.</b>
  33. <div class="kreska"></div>
  34. <img src="images/ok.jpg" alt="" class="odst" align="left"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <BR><BR>
  35. <B>Sobota, 27.01.2007r.</b>
  36. <div class="kreska"></div>
  37. <img src="images/wyk.jpg" alt="" class="odst" align="left"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<BR><BR>
  38. <B>Czwartek, 25.01.2007r.</b>
  39. <div class="kreska"></div>
  40. <img src="images/i.jpg" alt="" class="odst" align="left"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  41. </div>
  42. </td>
  43.  
  44.  
  45.  
  46. <TD class="menup" valign="top">
  47. <div class="topm"><div class="odst2">Warto zobaczyć</div></div>
  48. <div class="p_menu">
  49. <ul>
  50. <li > <a href="http://www.icarly.com/"> iCarly.com &nbsp;</a> </li>
  51. <li > <a href="http://icarly.mtvnetworks.pl//"> iCarly.MTVnetworks.pl &nbsp;</a> </li>
  52. <li > <a href="http://szabloniki.com/downloads.php?cat_id=5&rowstart=8"> Szabloniki.com &nbsp;</a> </li>
  53. <li > <a href="http://kawaly.tja.pl/?url=najlepsze_kawaly"> Kawaly.tja.pl &nbsp;</a> </li>
  54. <li > <a href="http://cba.pl"> Cba.pl &nbsp;</a> </li>
  55.  
  56. </ul></div>
  57.  
  58. </td>
  59. </tr>
  60. <tr>
  61. <td class="dol1"></td>
  62. <td class="dol2"><div class="stopka">Copyright by BigShoW.cba.pl | Design by <a href="http://szabloniki.com" title="darmowe szablony">Sliffka</a> | Strone zrobił Suchy</div></td>
  63. <td class="dol3"></td>
  64. </tr>
  65. </body>
  66. </html>


Z góry dzięki za pomoc. BigShow.cba.pl
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:19