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

Home Forums CSS Apply Background Color only on text Re: Apply Background Color only on text


Thanks for the tip, but unfortunately again, it only solves part of the problem. I am seeing some improvement, but not all of them. I’m using the following:

h1 + p, h2 + p, h1 + a, h2 + a, h1 + div, h2 + div {
clear: left;

But the code that I previously gave (for the Date too close thread) doesn’t really apply even though it’s immediately followed by a div. Is there a wildcard I can use? (And hopefully, it works with IE9, right?)