Maybe it is in the wrong place. Maybe it needs its own div. Try to move it, or put it in a div – I don’t know, it’s a trial and error. (Eventually, try to validate the site – that makes easier to locate the problem. I know most of the rrors you have come from the ads, but…)
Yup, include them in a DIV so that they clear everything.
If this is the same as the problems I have had it’s because the content block is defined to float:left; for the sidebar. However which this it inline, not block, and subsequent stuff doesn’t clear. As a result anything that is posted afterwards tries to move into the space that is available.
You can overcome this by adding a clearing-element afterwards. It’s a stupid hack, but try:
<br style=”clear: both; font: 1px/1px sans-serif;” />
It simply clears the whole line before continuing.
Thread Starter
narc
(@narc)
It’s not a stupid hack if it works! And it does!
Thank for the replies people! Much appreciated.
Hah, it’s a stupid hack because CSS shouldn’t need something like this to achieve a basic formatting requirement. When I had the problem I spent a long time trying to fix it another way rather than sully my source with what *is* an ugly solution…
But hey, it works huh?!
The sidebar seems to be central to the problem, I’d be interested if there is any other way to position a sidebar than the one used on most themes as that seems to be the problem.