Viewing 2 replies - 1 through 2 (of 2 total)
  • in your CSS:

    .main p img {
    border: none 0px;
    margin-right: 20px;
    margin-bottom: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    width: auto;
    float: left;
    <————–
    }

    your images exists within <p> tags…

    what you need to do is set your alignment via CSS classes.

    Have one for right aligned images, one for left aligned, one for center aligned. and then do it the proper way,

    <img="blah.jpg" class="rightsideimage" ... />

    and so on.

    https://validator.w3.org/check?uri=https://www.g27.net/

    remember your quote marks too, and your not closing your <img> tags properly. Theyre called self-closing tags..see my example above.

    <img src="/archives/gcgradthumb.jpg" align=left> <– right out of your source.

    Thread Starter g27dotnet

    (@g27dotnet)

    Is there any way I can make it so the css doesn’t handle my embedded post images, and they look just like I ask them to within the WYSIWYG WordPress post editor?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image alignment is screwy’ is closed to new replies.