Hi. I'm new on html/css, and i'm making french sheet of Warhammer 3e ( wfrp ). I'm making some customised checkboxes, made with csscheckbox.com : big problem is : css code provided from csscheckbox.com use "id" selector, which is forbidden here. When
i'm trying to remove id from html code, i can't check/uncheck any case, and i
dunno which selector use and which part of css i need to replace. Here's an exemple, codes of blues checkboxes : HTML: <input type="checkbox"checked='true' name="Force1" id="Force1" /></label><label for="Force1"></label> <input type="checkbox"checked='true' name="Force2" id="Force2" /></label><label for="Force2"></label> CSS: input[type=checkbox].css-checkbox-caracteristique {
position:absolute;
z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0);
height:1px; width:1px; margin:-1px; padding:0; border:0; } input[type=checkbox].css-checkbox-caracteristique + label.css-label { padding-left:30px; height:25px; display:inline-block; line-height:25px; background-repeat:no-repeat; background-position: 0 0; font-size:25px; vertical-align:middle; cursor:pointer; } input[type=checkbox].css-checkbox-caracteristique:checked + label.css-label { background-position: 0 -25px; } label.css-label { background-image:url( <a href="http://csscheckbox.com/checkboxes/u/csscheckbox_d38cca4b67a7029d62498ff7c68d08fb.png" rel="nofollow">http://csscheckbox.com/checkboxes/u/csscheckbox_d38cca4b67a7029d62498ff7c68d08fb.png</a> ); -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } and here's a jsfiddle Maybe some lines of this can be erased, but i don't wanna try, just in case :> Thanks