Register or log in:



Hot Tags

Blog Oh! Blog Forums » General Discussion

Xplosive hspace and vspace problem

(7 posts)

  1. dotups
    Member

    I know this is probably a css issue, but when positioning a picture or pictures, blog text ends up flush against images once published, regardless of what value I have set for hspace and vspace. This is the only theme I have had this issue with. Is there a simple css fix for this?

    Posted 9 months ago #
  2. Just put this code in your style.css file and see if it helps.

    post img {padding:7px;}
    Posted 9 months ago #
  3. dotups
    Member

    Jai,

    Thank you for your fast reply! That helps as long as I do not use image borders in my post. For now, I will either remove image borders from the posts I have made, or edit the css to include borders for all images.

    Thanks again.

    Posted 9 months ago #
  4. hmm.. try using

    post img {margin:7px;} 

    This way, you can include your borders.

    Posted 9 months ago #
  5. dotups
    Member

    Thats what I did with the help of your first reply... worked just fine. Thank you again.

    Posted 9 months ago #
  6. dotups
    Member

    However, making this addition appears to mess up other images that are part of the layout, such as site icons. For example, my email to icon image is no longer aligned with the corresponding link text. I have been trying to fix this, but the only answer seems to be to remove post img {margin:7px;}, and this takes me back to the original problem. Any suggestions?

    Posted 9 months ago #
  7. Then I guess just use the padding.

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

{ A Forum of Blog Oh! Blog }