wwfc_barmy_army Posted April 24, 2010 Share Posted April 24, 2010 Applying CSS to fields with name tag instead of ID or Class - Is this possible? It's hard to explain why but I can't really change the text field html to include an ID or class, so can you style from using the 'name=' value? Thanks. Quote Link to comment Share on other sites More sharing options...
F1Fan Posted April 24, 2010 Share Posted April 24, 2010 I don't think this is possible with just CSS, but you could do it with JavaScript: document.formName.elementName.className = 'nameOfClass'; Quote Link to comment Share on other sites More sharing options...
wwfc_barmy_army Posted April 24, 2010 Author Share Posted April 24, 2010 Thanks. Quote Link to comment 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.