CSS /*-----background-----*/ .charsheet { background-image: url(<a href="http://www.beamsat.com/inhoud/uploads/shutterstock_376824967.jpg" rel="nofollow">http://www.beamsat.com/inhoud/uploads/shutterstock_376824967.jpg</a>); background-size: 100%; border: 5px solid #0060B3; border-radius: 5px; border-style: outset; } .sheet-clear { background: none; } /*-----tabs-----*/ /*this hides the contents of each tab by default*/ .charsheet div[class^="sheet-section"] { display: none; } input.sheet-tab1:checked ~ div.sheet-section-character, input.sheet-tab2:checked ~ div.sheet-section-mech, input.sheet-tab3:checked ~ div.sheet-section-transport, input.sheet-tab4:checked ~ div.sheet-section-base, input.sheet-tab5:checked ~ div.sheet-section-description, input.sheet-tab6:checked ~ div.sheet-section-skillsandattributes, input.sheet-tab7:checked ~ div.sheet-section-combat, input.sheet-tab8:checked ~ div.sheet-section-inventory, input.sheet-tab9:checked ~ div.sheet-section-journal,{ display: block; } input.sheet-tab99:checked ~ div[class^="sheet-section"] { display: inline-block; } input.sheet-tab { width: calc(20% - 4px); max-width: 200px; height: 20px; outline: none !important; position: relative; cursor: crosshair; z-index: 1; margin-left: 1px; margin-right: 1px; margin-bottom: 1px; margin-top: 1px; } input.sheet-tab::before { content: attr(title); display: inline-block; color: #FE9001; background-image: url(<a href="http://img09.deviantart.net/b141/i/2008/123/6/a/scratches_by_struckdumb.jpg" rel="nofollow">http://img09.deviantart.net/b141/i/2008/123/6/a/scratches_by_struckdumb.jpg</a>); background-size: 200%; font-size: 14px; font-weight: bold; font-style: normal; text-align: center; width: 144px; height: 15px; border: 5px solid #0060B3; border-radius: 5px; border-style: outset; margin-bottom: 2px; padding: 2px; } input.sheet-tab:checked::before { color: #010101; background: radial-gradient(#FECB00, #FE5D00); border: 4px solid #0060B3; border-radius: 5px; border-style: inset; width: 144px; margin-bottom: 2px; padding: 2px; } .sheet-tab-br { border-bottom: 1px transparent; margin: 2px; padding: 2px; } /* START Div hide for compartments */ input.sheet-compartment { float: left; } input.sheet-compartment ~ div.sheet-compartment { display: none; } input.sheet-compartment:checked ~ div.sheet-compartment { display: inline; } div.sheet-compartmentcontainer{ width: 20em; height: 10em; } /* END Div hide for compartments */