Liquid Fire Posted January 26, 2007 Share Posted January 26, 2007 Ok here is the part of the code:[code]<select class=\"default_select\" name="project_lead">[/code]The default_Select has a gray background color in css and when i click the drop down box the options are correct background color but when i select a option the backgroud color becomes white again, why would this happen? How do i get so the the selected option is shown in teh gray background color? Quote Link to comment https://forums.phpfreaks.com/topic/35755-solved-setting-background-color-for-a-select-drop-down-box/ Share on other sites More sharing options...
Liquid Fire Posted January 26, 2007 Author Share Posted January 26, 2007 nvm i copy code from a php print statement to html tag so the backslash was cuasing the problem Quote Link to comment https://forums.phpfreaks.com/topic/35755-solved-setting-background-color-for-a-select-drop-down-box/#findComment-169458 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.