<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> script home www.jb51.net imitation potato video scroll menu </title> <style> ul {margin: 0; padding: 0; list-style: none; width: 100000px} li {margin: 0; padding: 0; width: 100px; height: 100px; display: block; float: left; margin-right: 5px; background: #009900} # img_bag {width: 640px; height: 100px; background: # FF9900; margin: 0 auto ;}# img_bag a {float: left; width: 20px; display: block; height: 20px; font-weight: bold ;}# img_bag # img {width: 600px; height: 100px; background: # ccc; overflow: hidden; float: left} # scrollBar {width: 600px; height: 20px; background: # FF0000; margin: 0 auto; position: relative} # scroll {width: 30px; height: 20px; background: #000; cursor: pointer; position: absolute ;} </style> </pead> <body> <ul> <li> </li> <li> </li> <li> </ul> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]