1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

picture paragraph problem

Discussion in 'CSS' started by klingerrr, Sep 13, 2006.

  1. #1
    im trying to get the pic to float to the left of paragraph. it works on the top of the page, but the text is too small. I added the <p></p> at the bottom of the page and it increases the text to the correct size, but the picture sits on top of the info instead of floating to the left. I know there is a quick fix, but i cannot figure it out.

    how do i get the pic to float to the left when using <p></p> paragraph tags? If you scroll to the last "mock" article you will notice that the text is larger and the pic is sitting on the text. I'm new to this database stuff.

    please help.

    http://quickjim.com/categories/real-estate.html
     
    klingerrr, Sep 13, 2006 IP
  2. Mano70

    Mano70 Peon

    Messages:
    42
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Some suggestions:

    1. Put the picture inside the paragraph tags.
    2. Your CSS code for your paragraphs are clearing left floats, what happens if you remove that?
    3. You have two unclosed paragraphs after your image also.
     
    Mano70, Sep 13, 2006 IP
  3. SoKickIt

    SoKickIt Active Member

    Messages:
    305
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Find this in your CSS file:

    
    /* Paragraph text */
    p {
       clear: left; margin: 0em 0px 0.5em 0px; padding: 0px; font-size: 130%;
    }
    
    Code (markup):
    and remove clear: left;
     
    SoKickIt, Sep 13, 2006 IP
    klingerrr likes this.
  4. klingerrr

    klingerrr Peon

    Messages:
    149
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sokickit,

    thanks for the info. I really appreciate it. I added some rep. I'm learing, slowly but surely. There is so much to learn.
     
    klingerrr, Sep 13, 2006 IP