Forums

Wrapping Text Around Images - HSPACE and VSPACE not supported? (5 posts)

  1. luminousnerd
    Member
    Posted 2 years ago #

    Hello,
    The blog I'm working on is located at http://www.combatfilms.com/blog. I am unable to make text wrap properly. To be more specific, align="left" seems to work fine, but when I append hspace="10" and vspace="10", it does not push the text away.

    Any idea what might be wrong here? We're on a Microsoft server (I know. Yuck.), WP 2.1.1, I can't think of any other details you might need but feel free to ask. I am appreciative of any help I can get!

    Thanks!

  2. Chris_K
    Administrator
    Posted 2 years ago #

    hspace? vspace? huh?

    Here, have a look at Wrapping_Text_Around_Images and maybe brush up a bit on CSS. :-)

  3. luminousnerd
    Member
    Posted 2 years ago #

    HandySolo,

    This is just for putting an image in the content...I don't think CSS is ideal for it.

    <img src="whatever.jpg" alt="whatever" align="left" hspace="10" vspace="10">

    That is what I use on my own blog @ Luminousnerd.com with a slightly older version...why doesn't it work here?

    Anyway, I tried using style="float:left;"...is there a way to then add some padding around it, so that nothing gets within 10 pixels (or X pixels, whatever) of the image?

  4. Chris_K
    Administrator
    Posted 2 years ago #

    I don't even know if those (h/vspace) are semantically valid in the xhtml world many live in.

    To answer the question about CSS, I have something similar to this in my stylesheet:

    .alignright {
       float: right;
       margin-left: 5px;
    }
    
    .alignleft {
       float: left;
       margin-right: 7px;
    }

    After I add a image to the blog post, I add
    class="alignright"
    (or alignleft as appropriate) to the img tag. If you're using the wysiwyg thingy, just hit the code tab, add it, and toggle back. You won't see it reflected in the wysiwyg editor, but you'll see it in the preview thing.

  5. lcools
    Member
    Posted 1 year ago #

    Hi HandySolo...which preview thing is that?

    I'm having the same issue as above...and I was wondering why I was not able to preview my changes.

    I have the 'visual' box and 'code' box but no preview button. I often end up posting, checking, then deleting.

    thanks
    lcools

    (If you're using the wysiwyg thingy, just hit the code tab, add it, and toggle back. You won't see it reflected in the wysiwyg editor, but you'll see it in the preview thing. )

Topic Closed

This topic has been closed to new replies.

About this Topic