lonewolf217 Posted March 10, 2009 Share Posted March 10, 2009 I have multiple forms on my site that are styled with the same SELECT element in my css page. There is one SELECT statement however that I dont want to be styled at all. Is there an easy way to clear out the style for this one element, or do i have to just reset all the attributes on the individual element ? Quote Link to comment https://forums.phpfreaks.com/topic/148773-remove-css-style-from-just-a-single-select-element/ Share on other sites More sharing options...
mimintweak Posted March 10, 2009 Share Posted March 10, 2009 Maybe assign a class to this one form .formname {and then assign whatever style Just a suggestion, I will leave it to a more experienced member but you could try it in the mean time. Quote Link to comment https://forums.phpfreaks.com/topic/148773-remove-css-style-from-just-a-single-select-element/#findComment-781704 Share on other sites More sharing options...
noober Posted March 12, 2009 Share Posted March 12, 2009 I agree with the previous poster's advice. Quote Link to comment https://forums.phpfreaks.com/topic/148773-remove-css-style-from-just-a-single-select-element/#findComment-782794 Share on other sites More sharing options...
Loathor__Healer Posted March 19, 2009 Share Posted March 19, 2009 First of all, could you post your CSS code? Secoundly, try this. Make a Different select Class Like this.. .other_select { Attributes here } And then add the class to the Select that you need the different attributes. <select class="other_select"> If I made Any Mistakes, Sorry.. But I think that pretty much displays the picture. Quote Link to comment https://forums.phpfreaks.com/topic/148773-remove-css-style-from-just-a-single-select-element/#findComment-788526 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.