Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. How to hide scrollbar in <select> box?

How to hide scrollbar in <select> box?

Scheduled Pinned Locked Moved Web Development
tutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bin_bin1
    wrote on last edited by
    #1

    Hello, I'd like to know how to hide the verticle scrollbar in box in Netscape. If the "size" properity of a box is set, the box will be display in the form of a list which display all the options. But even if the "size" is set bigger than the length of the options, the vertical scrollbar will still show up in Netscape. Is there a way to hide that scrollbar? I tried "scrolling:none;" and "overflow:hidden;" but none of these works.:confused::confused: The following is sample code: one two three four The size is 6, which is bigger than the length of the options, which is 4. but the scrollbar is still showing up in Netscape. I tried to figure this out for several days. I also tried to set the scrollbar colors to background, but still cannot find solution. I also have another question. In the above example, the mouse-over an option event won't highlight it. Is there a way to make the mouseover highlight a choice item, just like in the "normal" box? If you know answer to any of my question, please kindly drop me a couple lines. Thank you very very much in advance.. Bin

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups