WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't put <br>s under images. removing text to the right (3 posts)

  1. nerdgear
    Member
    Posted 6 years ago #

    I'm working on a online painting course at http://paintingcourse.net . My images are are refusing to stand alone, and the text keeps popping up directly to the right of the image. As you can see this has created a disconnect from the image and the text to which it pertains. I've tried to put <br> before, and after, and enclosing the image code. (yes im also closing them) Also tried surrounding the image with <p> to try and seperate it from the text. Every time I edit, then hit save, all my new code vanishes. And yes, I do have it in code view, and not the visual view.

    suggestions?
    link to problem page

    Where it says "Cad Yellow" should be under the image. Not to the right of it.

  2. moshu
    Member
    Posted 6 years ago #

    When it comes about diplay, always look first into your own stylesheet.
    #mainmiddle p img{float:left;... etc

    Remove the float:left; portion!

  3. nerdgear
    Member
    Posted 6 years ago #

    Thanks!

    Code currently looks like this, and the text no longer tries to wrap.

    #mainmiddle p img{border:none;margin-right:10px;margin-bottom:10px;}
    .date{background:transparent url(images/cal.gif);float:left;width:36px;height:43px;margin:0;padding: 0;}

Topic Closed

This topic has been closed to new replies.

About this Topic