Results 1 to 3 of 3
Thread: Specificity confusion
Jun 16, 2012, 06:14 #1
- Join Date
- Dec 2011
- 0 Post(s)
- 0 Thread(s)
OK I'm stumped on a really stupid problem. I must be misunderstanding the rules of Specificity.
<input class="left_Input_Field" id="gender" type="text" name="gender"/>
works and successfully inherits from .left_Input_Field.
<a class="header_Row" id="header1">Header</a>
Whilst the CSS work just fine I am a bit baffled why the CSS
doesn't work which suggests that I am failing to fully understand the cascade. I am missing something here is it with regard to the <input> tag as opposed to <a> or indeed any other tag. I only get this issue on <input>.