Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image extending beyond content Re: Image extending beyond content

#72192
Ian G
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…