Quick <div> help

Discussion in 'HTML & Website Design' started by stain666, May 28, 2010.

  1. #1
    I'm adding this code to my wordpress side bar.php file, what am i missing as any other widgets in that sidebar get all messed up


     
    stain666, May 28, 2010 IP
  2. sady92

    sady92 Member

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #2
    Try This !! :) this shuld work !!
     
    sady92, May 29, 2010 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    @sady92, your "fix" is invalid. span is inline while p is block level.

    @stain666, since we don't know what it's supposed to look like and have nothing to compare your markup to, we can't help.
     
    drhowarddrfine, May 29, 2010 IP
  4. php web designer

    php web designer Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try This

    <div id="r_sidebar">
    <div style="float: left; margin: 100px 10px 5px 24px; line-height: 7px;"><span style="text-decoration: underline;"><p>Fantasy Player Rankings (June 1st) :<p/></span>
    Top 200 | QB | RB | WR | TE </div> </div>

     
    php web designer, May 29, 2010 IP