Home › Forums › CSS › Image extending beyond content › Re: Image extending beyond content
November 27, 2010 at 11:15 am
#72192
Participant
My CMS controls the names of my divs, ids and their classes, so I tried instead to target the specific block’s “node-inner” div based on your suggestion and cleared the floats but it didn’t seem to work at the node-inner level. Node is the overall content type and node-inner is a subset, so I think I got the right level of specificity with
#block-views-Mainpage_Blog_block-block_1 .node-inner{
clear: both;
background: white;
}
(I added background: white just to make sure the changes were trackable)
I guess I need a straight CSS solution based on the div structure I’ve got now…