Text doesn't wrap

Discussion in 'HTML & Website Design' started by wormser, May 29, 2010.

  1. #1
    I'm trying to get my text to wrap around the table with the border and the list of links inside. Any ideas how I can get this to happen?

    The page is here:
    http://www.buyingsteelbuildings.com/test/

    Thanks.
     
    wormser, May 29, 2010 IP
  2. MmmDesign

    MmmDesign Peon

    Messages:
    185
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you mean by 'wrap'?
    What I see in firefox... the site has the header then below that on the left is the box with borders and navigation inside. Directly to he right of that is the main paragraphs...

    Are you trying to add space between the box and paragraph? If so add this to your style sheet:
    p {
    padding: 0 10px 0 10px;
    }

    This will add 10 pixels of 'white space' on both the right and left of the main paragraph. You can change the numbers and units to whatever you need them to be. Note that the order of the "padding:" is.. top right bottom left... so top will get 0 padding, right will get 10px, etc. Change to suit your needs.

    If this isn't at all what you are talking about, I would be more than willing to help you out just send me a PM
     
    MmmDesign, May 29, 2010 IP
  3. wormser

    wormser Well-Known Member

    Messages:
    112
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Figured it out from an old post on DP! My IE doesn't wrap around tables. Switched to the code below instead of a table and it works great now. Thanks MmmDesign for spendinig time on my problem.

    <div style="float: left;">your content here</div>
     
    wormser, May 29, 2010 IP