Jump to content

How do I get rid of the scroll bar


smokenwhispers

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.