Jump to content

Recommended Posts

I have this text code here and I want to get rid of the scroll bar on the right. It is grayed out anyway.

 

:-*

 

<select name="columnA13" size="6" multiple>
		  <option value="B01">Bras</option>
		  <option value="B02">Thongs</option>
		  <option value="B03">Garter Belts</option>
		  <option value="B04">Stockings</option>
		  <option value="B05">Corsets</option>
		  <option value="B06">Stilettos</option>
            </select>

Link to comment
https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/
Share on other sites

I was expecting style="overflow: hidden" to work, but it doesn't.

So I'd say it's impossible.

 

Tried doing some creative things with select[multiple=multiple] option { }, since firefox seems to be the only browser supporting styling of options. Didn't work either.

Depending on the background you could try positioning a div with the same height as the select and the same background-color as whatever is containing the select OVER the scrollbar, covering it up?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.