smokenwhispers Posted May 6, 2009 Share Posted May 6, 2009 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 More sharing options...
smokenwhispers Posted May 6, 2009 Author Share Posted May 6, 2009 Should I take my picture down to get this answered? Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827219 Share on other sites More sharing options...
Ken2k7 Posted May 6, 2009 Share Posted May 6, 2009 What picture? On Firefox, I don't think it's possible. P.S.: you posted in the wrong place. Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827220 Share on other sites More sharing options...
smokenwhispers Posted May 6, 2009 Author Share Posted May 6, 2009 I... I did not know... Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827224 Share on other sites More sharing options...
Ken2k7 Posted May 6, 2009 Share Posted May 6, 2009 Well I don't know of one and I don't think it's possible in Firefox. Try asking in the right forum. Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827228 Share on other sites More sharing options...
smokenwhispers Posted May 6, 2009 Author Share Posted May 6, 2009 Sorry, I forgot PHP is not just for Forms... Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827232 Share on other sites More sharing options...
Axeia Posted May 6, 2009 Share Posted May 6, 2009 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? Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827329 Share on other sites More sharing options...
Ken2k7 Posted May 6, 2009 Share Posted May 6, 2009 I know of a way to replicate the look of a select multiple but it'll require DIVs or a list with *JavaScript*. Of course, it'll fail if users have JavaScript disabled. Link to comment https://forums.phpfreaks.com/topic/157037-how-do-i-get-rid-of-the-scroll-bar/#findComment-827444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.