Home › Forums › CSS › HTML5 and divs now showing up correctly › Re: HTML5 and divs now showing up correctly
July 10, 2012 at 1:08 pm
#105819
Member
No problem. It’s just a tiny error in your code. You have:
#faculty-info .row-a { background: #e5e5e5;}
When it should be:
#faculty-info.row-a { background: #e5e5e5;}
Note the space that I’ve removed. You were looking for #faculty-info with a child element called .row-a. Mine is targeting any #faculty-info with a class of .row-a.
Speaking of IDs and classes, you should only be using an ID once per page. In your page, you’ve got a number of duplicates.