On a theme I’m working on I want a div which expands to 100% height of the outer div (which I will put around the thumbnail). The purpose of this is to move text further to the right to be aligned as a block paragraph and not wrap around the thumbnail. I would use padding but I want the excerpt’s text to be aligned to the left when there isn’t an image. I have tried this a couple times to no avail. Suggestions?
you probably didn’t need to go that route. Adding overflow: hidden to the paragraph changes its block formatting context and would not flow around a float next to it, but would be unaffected if on its own.