Forums

[resolved] Image Text Wrap - Am I going mad?! (5 posts)

  1. sunshinemachine
    Member
    Posted 7 months ago #

    No matter what I try I can't get my text to NOT wrap around my image. Am I doing something wrong?

    Here's an example of the post: http://gator1767.hostgator.com/~lmaloney/?p=308

    and here's the code:
    <a href="http://sunshinemachine.files.wordpress.com/2011/08/sm1cover.jpg"><img class="aligncenter" title="sm1cover" src="http://sunshinemachine.files.wordpress.com/2011/08/sm1cover.jpg" alt="" width="300" /></a>

    [audio:http://sunshinemachine.files.wordpress.com/2011/08/01-sunshine-machine-1-new-brighton.mp3]

    After a lot of work I think we've finally ironed out all t... blah blah blah"

    Have I done something stupid, am I missing something here? Feel like I've cracked!

    [Please post code snippets between backticks or use the code button.]

  2. alchymyth
    The Sweeper
    Posted 7 months ago #

    the image style is partly done by:

    p img{float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}

    in /wp-content/themes/themorningafter/includes/compressed.css

    the rule for .aligncenter in style.css does not overwrite the float:left;

    possibly change to:

    .aligncenter, div.aligncenter { float: none; display: block; margin: 14px auto; }

  3. sunshinemachine
    Member
    Posted 7 months ago #

    I've altered the style sheet as you suggested. And I've also set the compressed.css to float none rather than left.
    The problem is still there though. Any other ideas?

  4. alchymyth
    The Sweeper
    Posted 7 months ago #

    'CTRL F5'

    the browser cache is holding on the the old styles - try to clear the cache by pressing the above.

    i can see the changes in your site.

  5. sunshinemachine
    Member
    Posted 7 months ago #

    And you're right.

    Thanks so much for your time and help. It's really appreciated.

    Liam.

Reply

You must log in to post.

About this Topic