Results 1 to 7 of 7

Thread: Align text around images

  1. #1
    Join Date
    Aug 2006
    Posts
    101
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Align text around images

    See http://www.arti-sign.nl/ckc/visie.htm to see my problem.

    There is an image floated left. I want the text of the 2nd sentence ("De CHI is een haakvormige stok...") and further to be wrapped around the image. In other websites I've built this works fine. I can't find the reason why it doesn't work here.

    The CSS can be found here: http://www.arti-sign.nl/ckc/css/styles.css. See line 71 and further for image styles.

    Could it have to do with the p styles?

    Can someone help please?

    Thanks!
    Monique
    Last edited by monique; 11-03-2008 at 03:26 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Remove the display:block on line 595:
    Code:
    .footer:after, p:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}

  3. #3
    Join Date
    Aug 2006
    Posts
    101
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Thanks Snookerman! This was what I needed (see http://www.arti-sign.nl/ckc/visie.htm).

    Also the other pages look fine now, although another "minor" error occurs on the bottom of another page (see http://www.arti-sign.nl/ckc/leven-is...n-is-leven.htm) where the image in a blockquote is now half out of the border of the blockquote.

    Do you also have a solution for that?

    Monique

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Sure, add this to your css:
    Code:
    blockquote p:after {display:block;}

  5. The Following User Says Thank You to Snookerman For This Useful Post:

    monique (11-03-2008)

  6. #5
    Join Date
    Aug 2006
    Posts
    101
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Thanks a lot Snookerman!

    Looks quite logic now that I see the solution
    Next time I'll try to think a bit better myself too

    Monique

  7. #6
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome!
    Make sure you mark this thread as Resolved by editing your first post and adding the Resolved prefix.

  8. #7
    Join Date
    Aug 2006
    Posts
    101
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Ok, I'll do that!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •