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> Quote 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? Quote 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. Quote 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... Quote 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. Quote 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... Quote 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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.