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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -