HTML list-style-type dash

You could use :before and content: bearing in mind that this is not supported in IE 7 or below. If you’re OK with that then this is your best solution. See the Can I Use or QuirksMode CSS compatibility tables for full details. A slightly nastier solution that should work in older browsers is to … Read more

Freeze the top row for an html table only (Fixed Table Header Scrolling)

This is called Fixed Header Scrolling. There are a number of documented approaches: http://www.imaputz.com/cssStuff/bigFourVersion.html You won’t effectively pull this off without JavaScript … especially if you want cross browser support. There are a number of gotchyas with any approach you take, especially concerning cross browser/version support. Edit: Even if it’s not the header you want … Read more

Target a css class inside another css class

Not certain what the HTML looks like (that would help with answers). If it’s <div class=”testimonials content”>stuff</div> then simply remove the space in your css. A la… .testimonials.content { css here } UPDATE: Okay, after seeing HTML see if this works… or just or all 3 should work.

@font-face not working

Double period (..) means you go up one folder and then look for the folder behind the slash. For example: If your index.html is in the folder html/files and the fonts are in html/fonts, the .. is fine (because you have to go back one folder to go to /fonts). Is your index.html in html … Read more

CSS center display inline block?

The accepted solution wouldn’t work for me as I need a child element with display: inline-block to be both horizontally and vertically centered within a 100% width parent. I used Flexbox’s justify-content and align-items properties, which respectively allow you to center elements horizontally and vertically. By setting both to center on the parent, the child … Read more