Forums

[resolved] Image alignment (3 posts)

  1. pembo13
    Member
    Posted 1 year ago #

    By default, WordPress uses the CSS float property to align images left instead of the HTHML align attribute. When the content to the side of the image is shorter than the image is tall, the two solutions are not the same.

    Example: http://arthurpemberton.com/test

    The images are not supposed to be stacked next to each other. How do I go about fixing this?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    By default, WordPress uses the CSS float property to align images left instead of the HTHML align attribute.

    The HTML align attribute is deprecated in XHTML.

    How do I go about fixing this?

    Add clear:left; to the next image or text element.

  3. pembo13
    Member
    Posted 1 year ago #

    Yah, I am aware of that... it doesn't achieve the solution that I have in mind as it orphans its adjacent text. But thanks, think I'll close this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags