Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cascajun

    (@cascajun)

    Ok, I think I get it. I’ve edited the css as follows:

    img.alignright {
       padding: 4px; margin: 0 0 2px 7px; display: inline; float: right;}
    
    img.alignleft {
       padding: 4px; margin: 0 7px 2px 0; display: inline; float: left;}

    And, in the image html tag I’ve included class=”alignright”. That got it working.

    Thank you!

    Thread Starter cascajun

    (@cascajun)

    Arrggg. I mean the image isn’t aligned right. It’s aligning on the left.

    Thread Starter cascajun

    (@cascajun)

    Thank you EyePhoto, I fixed that.

    I have the following in my css:

    p img {
    	padding: 0; max-width: 100%;
    }
    
    img.alignright {
    	padding: 4px; margin: 0 0 2px 7px; display: inline;
    }
    
    img.alignleft {
    	padding: 4px; margin: 0 7px 2px 0; display: inline;
    }
    
    .right {
    	float: alignright;
    }
    
    .left {
    	float: alignleft;
    }

    In this linked post I have the image tag as follows:

    <img src="http://cascajun.arabie.org/wp-content/uploads/2008/04/mudda-bugs-e-300x217.jpg" alt="A Serving of Crawfish in China" title="Mudbugs in China" width="300" height="217" class="alignright" />

    The image isn’t aligned left and the text isn’t floating around.

Viewing 3 replies - 1 through 3 (of 3 total)