Support » Fixing WordPress » why is this so WRONG????????????

Viewing 12 replies - 1 through 12 (of 12 total)
  • From a desktop publishing point of view, it looks like the 7px on the bottom is “nudging” 2 lines of text instead of just one. If the ad or your 7px measurement were slightly smaller, I think you would get the result you want.
    Alternatively, increase the line height in your body text slightly.
    I *think* that would get you the appearance you want.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    When you add a margin, you’re increasing the size of the block by that many pixels. In your case, you added 7 pixels.

    When a unit is floating like that, and text is wrapping around it, the text will only move under it when it can clear the block entirely. In your case, there’s extra space at the bottom because 7 pixels make the block tall enough that the text underneath it cannot clear the block + the 7 pixel margin, and so it has to go down another line before it can move underneath the block.

    In other words, you added a lot of margin, you just didn’t know that margins are *hard* with regard to text wrap.

    this is the css tags for divs and images that i modified:

    * {
    padding: 0;
    margin: 0;

    img {
    border: 0;
    padding: 7px;

    div {
    padding: 7px;

    i also tried changing the line spacing – but that made no effect! i tried all sorts of text movements and other stuff!

    there must be some tag in the css that changes this – i copied the css thing over here so you can take a look: (opens in new window)

    anyone have more ideas?

    Why not start with 0px padding on the div’s and img’s and increment upward from there.

    nope sorry – that didnt change anything 2!

    anyone know how i can contact the k2 developers (except from their forum which gives absolutetly no answer!)???


    I guess you have it fixed? I don’t see a problem besides lack of css knowledge.

    nope its not solved – if you look at the top ad its fine – but the bottom one still shifts the text!

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    madmax: The real problem here is that nobody seems to understand what the hell you’re talking about. Your page looks correct to me. It’s doing exactly what it is supposed to be doing.

    What are you seeing that is so horrible? You have adblocks in there and the text wraps around them just like it should. Where’s the problem?

    I mean, I can see that your XHTML is invalid because of the invalid code blocks and the extra blank space you have there, but for the most part, it displays more or less correctly at least.

    Fix your code and then maybe it will do what you want it to do.

    I’m still not sure what the problem is. You have the ads outside of the paragraph which would make it appear differently between browser types. Perhaps move them inside the paragraph which would make a few pixel difference and more stable between browsers. Otherwise it is just a css choice no matter what theme you use.

    then look in the paragraph – but forget it! i will find some way

    Sorry I’m too stupid to understand your mystery.
    But I’ll easily forget it.


Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘why is this so WRONG????????????’ is closed to new replies.