Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Janice W Davis Friend
    #147807

    If an article has an image aligned right & the about us module on the right hand side then there are problems with the alignment of the image. This happens in IE7 – it is ok in IE8 and Firefox.

    You can view it at: http://www.storiesbykids.biz/index.php?option=com_content&view=article&id=112&Itemid=105

    and
    http://www.storiesbykids.biz/index.php?option=com_content&view=article&id=111&Itemid=102

    Thanks

    John Wesley Brett Moderator
    #329859

    Check the settings on your image.
    Go to the source code of the article and change the images code:
    remove:
    style=”float: right”
    replace with
    align=”right”

    That should do it.

    Again I would do this directly in the source code. Many WYSIWYG editors (JCE included) have this aggravating knack of thinking they know better what you want. If you are using JCE, I would change the default to do this…or you are going to do it a lot.

    John.

    Janice W Davis Friend
    #329883

    Thanks John – that fixed it.

    You mentioned to change the jce default to do that – where would I do that?

    Janice W Davis Friend
    #329889

    Upon further tweakign I found out that the aligh=”right” did not work. What does work is making sure the img tag is inside the p tag and that there is text before the image tag inside the p tag. Clear a mud right.

    So this works:

    <p>To <img width="225" src="images/stories/ImageArticles/concrete_coring_estimating.jpg" alt="concrete_coring_estimating" height="175" style="float: right; margin-left: 10px; margin-right: 0px;" />ensure optimum efficiency we follow these six steps to complete our projects:</p>

    but this doesn’t:

    <p><img width="225" src="images/stories/ImageArticles/concrete_coring_estimating.jpg" alt="concrete_coring_estimating" height="175" style="float: right; margin-left: 10px; margin-right: 0px;" />To ensure optimum efficiency we follow these six steps to complete our projects:</p>

    It doesn’t seem to matter if it’s align=”right” or style=”float: right; … The other thing with this approach is the top of the image ends up being at the bottom of the line of text and not at the top of the line of text. But at least it’s on the right.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Janice W Davis 14 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum