sesackett 0 Posted October 26, 2005 Report Share Posted October 26, 2005 Is it possible to use an attribute selector find values stored in the style attribute of an element? What I want to do is locate every input element that has the background color of lime, but I can't fingure out the syntax. See example for a pseudo code representation of what I want to do.Example:input[style=background-color:lime]{} /*This doesn't work*/input[style.background-color=lime]{} /*This doesn't work*/Thanks for your helpSteve Quote Link to post Share on other sites
actionsketch 0 Posted October 27, 2005 Report Share Posted October 27, 2005 javascript would store it as style.backgroundcolor I believe Quote Link to post Share on other sites
sesackett 0 Posted October 27, 2005 Author Report Share Posted October 27, 2005 javascript would store it as style.backgroundcolor I believe<{POST_SNAPBACK}> Thanks, this makes sense. Also I now know enough to stay away from MSIE when working through CSS tutorials.Steve Quote Link to post Share on other sites
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.