css - Absolute positioning of a <div> -


in following fiddle, trying find out why div checkbox placed bigger content (which image of empty checkbox). trying accomplish same seen on fiddler without overlapping of white background on border of underlying . think problem related css style:

.selectable-content label:after {     background: white;     color: #9fc5e8;     content:"\f096";     position:absolute; } 

you'll have play of bottom values in media queries, white background due default line-height on label.

http://jsfiddle.net/xtm9d/11/

added:

.selectable-content > label {     padding-top: -5px;     font-family:'fontawesome';     font-size: 32px;     cursor: pointer;     line-height:26px; } 

messed around media queries well.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -