Style Captcha Divs Or Core Override
Permalink
I am trying to style the individual div blocks within the captcha block.
This would be helpful to either a) have been originally developed with a class in place even if its just class="1" class="2" or b) be able to add an override so that changes are not wiped out with the next core update. Not to mention... don't mess with the core! oh, and don't mess with the core!
I have an fairly tight space that I need to fit the form and (recently with a pile of spam rolling in) a captcha block. I can do :first-of-type for the first div and monkey with the label but the last few divs are out of reach.
Is there another method in css?
What about that core override?
http://www.adamsmfg.com (click "not a fan of the phone?" in the right hand gray block.
Thanks in advance for any advise.
Chris
This would be helpful to either a) have been originally developed with a class in place even if its just class="1" class="2" or b) be able to add an override so that changes are not wiped out with the next core update. Not to mention... don't mess with the core! oh, and don't mess with the core!
I have an fairly tight space that I need to fit the form and (recently with a pile of spam rolling in) a captcha block. I can do :first-of-type for the first div and monkey with the label but the last few divs are out of reach.
Is there another method in css?
What about that core override?
http://www.adamsmfg.com (click "not a fan of the phone?" in the right hand gray block.
Thanks in advance for any advise.
Chris
Thanks for the quick reply. I thought about that. Isn't that broken because there is a tag of a different type in there?
<div></div>
<label></label>
<div></div>
<div></div>
Or something like that.
I'll try it and see though.
Thanks again,
C
<div></div>
<label></label>
<div></div>
<div></div>
Or something like that.
I'll try it and see though.
Thanks again,
C
nevermind. I was thinking nth child. Didn't even know there was an nth of type.
Thanks
C
Thanks
C
http://www.w3schools.com/cssref/sel_nth-of-type.asp...