FacePuncher 1,343 Posted February 13, 2016 Share Posted February 13, 2016 so i borrowed a dropdown box code from the SBA and put it on this site. I'm just wondering, how do you make the background color change? everything worked fine for the drop down box except that STZ 1 Link to comment https://vhlforum.com/topic/28159-dropdown-box/ Share on other sites More sharing options...
Tim 182 Posted February 13, 2016 Share Posted February 13, 2016 post the code Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311429 Share on other sites More sharing options...
FacePuncher 1,343 Posted February 13, 2016 Author Share Posted February 13, 2016 <div align="center"> <select style="background-color:green; color:blue; font-family:Times; font-size: 12px; width:402px; "><option>Bogdan Podarok || RW || Bratislava Watchmen || #17 || 108 TPE</option><option>NAME: Bogdan Podarok(Богдан Подарок)</option>><option>HEIGHT: 5'11"</option><option>WEIGHT: 172 lbs.</option><option>NUMBER: 17</option><option>------------------------------------------------------------------------------------------</option><option>S46(Saskatoon) - GP: 19 | G: 1 | A: 7 | +/-: -9 | PIM: 6 | HIT: 26 | SHT: 30 | SB: 21 |</option><option>S47(Bratislava) - GP: 63 | G: 32 | A: 30 | +/-: 23 | PIM: 34 | HIT: 127 | SHT: 292 | SB: 50 |</option></select> </div> <table> <tbody> </tbody> </table> Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311430 Share on other sites More sharing options...
Tim 182 Posted February 13, 2016 Share Posted February 13, 2016 <select style="background-color:green; color:blue; first part is the color of the background, the second is the color of the text Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311431 Share on other sites More sharing options...
FacePuncher 1,343 Posted February 13, 2016 Author Share Posted February 13, 2016 i know that part. im just wondering why its not working for the background color. do i have a syntax error or maybe just cant use the color green? Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311432 Share on other sites More sharing options...
Higgins 3,618 Posted February 13, 2016 Share Posted February 13, 2016 wow that shit actually works now, haven't seen that since the invisionfree days round these parts Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311441 Share on other sites More sharing options...
FacePuncher 1,343 Posted February 13, 2016 Author Share Posted February 13, 2016 i just thought it looked cool haha. saw it a lot in the SBA and wanted to see if it would work in the VHL Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311448 Share on other sites More sharing options...
Tim 182 Posted February 13, 2016 Share Posted February 13, 2016 try using hexadec colors, see if that works. Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311454 Share on other sites More sharing options...
jack 498 Posted February 13, 2016 Share Posted February 13, 2016 If you want the actual select box to be green add background: none; before the background-color: green or just remove the -color so that it's background: green Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311455 Share on other sites More sharing options...
FacePuncher 1,343 Posted February 13, 2016 Author Share Posted February 13, 2016 Ok, I'll try those when I get on the computer tomorrow. Thanks guys #BringingItBack Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-311456 Share on other sites More sharing options...
evrydayimbyfuglien 600 Posted May 13, 2016 Share Posted May 13, 2016 On 2/12/2016 at 0:32 AM, ADwyer87 said: Ok, I'll try those when I get on the computer tomorrow. Thanks guys #BringingItBack I know this is old but how did you do yours? I tried to get mine up and running and it was just all text/code. Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337378 Share on other sites More sharing options...
FacePuncher 1,343 Posted May 13, 2016 Author Share Posted May 13, 2016 1 hour ago, evrydayimbyfuglien said: I know this is old but how did you do yours? I tried to get mine up and running and it was just all text/code. Do you have the source button? Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337452 Share on other sites More sharing options...
evrydayimbyfuglien 600 Posted May 13, 2016 Share Posted May 13, 2016 1 minute ago, ADwyer87 said: Do you have the source button? Sometimes I think I did/do. Not currently though so that's probably why. Good call. Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337456 Share on other sites More sharing options...
FacePuncher 1,343 Posted May 13, 2016 Author Share Posted May 13, 2016 1 minute ago, evrydayimbyfuglien said: Sometimes I think I did/do. Not currently though so that's probably why. Good call. Yeah Ik something weird happened, apparently I had it when I wasn't supposed to, then Draper did something that I didn't understand. you could ask @Draper about it he should now about this Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337460 Share on other sites More sharing options...
Senior Admin Will 4,662 Posted May 13, 2016 Senior Admin Share Posted May 13, 2016 Right now the source button is restricted because of secuirty. IPB recommends that it shouldn't be made available because of the danger that comes with being able to post in raw HTML. There is a possible solution via an add-on that I'm looking into. In the meantime if you PM your code I can likely put it in your sig for you Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337470 Share on other sites More sharing options...
evrydayimbyfuglien 600 Posted May 13, 2016 Share Posted May 13, 2016 10 minutes ago, ADwyer87 said: Yeah Ik something weird happened, apparently I had it when I wasn't supposed to, then Draper did something that I didn't understand. you could ask @Draper about it he should now about this Okay, it's not a huge deal. I'll come up with some code and get back to you though. Thanks a lot. Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337471 Share on other sites More sharing options...
FacePuncher 1,343 Posted May 13, 2016 Author Share Posted May 13, 2016 6 minutes ago, evrydayimbyfuglien said: Okay, it's not a huge deal. I'll come up with some code and get back to you though. Thanks a lot. I can still give you the code, it just won't really work without the source button Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337473 Share on other sites More sharing options...
evrydayimbyfuglien 600 Posted May 13, 2016 Share Posted May 13, 2016 Just now, ADwyer87 said: I can still give you the code, it just won't really work without the source button I have something else I'm working on instead of the dropdown currently. I'll let you know though. Link to comment https://vhlforum.com/topic/28159-dropdown-box/#findComment-337478 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now