Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Location
    Loire Valley, France
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image height in <p>

    Good Evening,

    I have styled <p>'s within a div with an automatic height.

    This works fine if there is text or images surrounded by text. But I want the first <p> to hold just three images the height of which are 124px. My question is why doesn't the <p> automatically increase it's height to accommodate the image height. I can style that individual <p> of course, just wondering the reason why it won't expand logically as the images are clearly within the <p> tags.

    Thanks a lot
    Ponot.

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    since you haven't posted your code, I'm not sure how you expect anyone to see what you have done wrong.

  • #3
    New Coder
    Join Date
    Aug 2011
    Location
    The Universe
    Posts
    34
    Thanks
    0
    Thanked 11 Times in 11 Posts
    Not really sure what you mean, so if you could post a link or something that'd be great.


  •  

    Posting Permissions

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