WordPress.org

Ready to get started?Download WordPress

Forums

Images not right aligning on Mac (6 posts)

  1. macpokerUK
    Member
    Posted 5 years ago #

    When I right align pictures they seem to work fine in everything except for on a Mac. The alignment of the picture stays on the left in any Mac browse, and doesn't look good at all (no text wrapping). Is this a bug or is there a fix?

    Thanks

  2. MasterCIW
    Member
    Posted 5 years ago #

    Are you positive it displays correctly on a PC browser?

  3. macpokerUK
    Member
    Posted 5 years ago #

    Yea because I usually work on it in parallels (windows using IE) and it's fine, but when I switch back to Mac mode it's funked up. :(

  4. ooklathemok
    Member
    Posted 5 years ago #

    So very true! I have been trying to figure out why my stuff wouldn't align right for over an hour, tweaking away at CSS. Moved over to a PC, and IE & Firefox show my images on the right. The Mac shows my images on the left on Safari and Firefox.

    Any solution would be great.

    *note: Maybe this is an HTML thing? Early on in my experiments I got my images on the right on the mac. My theme, vesper, had this code:

    .post-entry img.align-right {
    	float: right;
    	margin: .4em 0 0 1em;
    	padding: 0 0 10px 10px;

    So, I went back to the post page in WP and clicked the image to edit it. Under Advance Settings--Advanced Image Settings--CSS Class it said, "size-full wp-image-42 alignright". So I changed it to "size-full wp-image-42 align-right" and it didn't work in the visual preview, but it did when I viewed the site.

    Unfortunately, the site I am working on is going to be used by multiple users, so I was looking for something more permanent than having to explain this trick to every poster.

  5. resourcesforlife
    Member
    Posted 5 years ago #

    Solution:

    1. Edit your page and view in HTML mode.

    2. insert the following line of text before the "src"
    style="float: right; margin-left: 5px; margin-right: 5px;"

    3. enjoy

    4. wait for this to be resoled in a future version of WordPress

    Regards,
    Greg

    http://www.resourcesforlife.com/g

  6. David Jones
    Member
    Posted 5 years ago #

    I pray this is fixed in future version of wordpress because I am having huge issues with the image processing and placement in 2.7.1

    It is also adding each image to a gallery when I upload an image even when I don't want too. . .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.