Box is thinking out side the box!

Discussion in 'CSS' started by LazyCat39, May 9, 2009.

  1. #1
    I can't make text fit in a scroll box -- overflows.

    Code:

    .boxer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #FFFFFF;
    letter-spacing: .08em;
    text-align: left;
    text-indent: 15px;
    height: 175px;
    width: 400px;
    position: relative;
    padding: 5px 15px 15px 25px;
    float: left;
    margin: 0px;
    line-height: normal;
    clear: left;
    overflow: scroll;
    }

    Some help please. live domain -- lazycatsrecords -- com
     
    LazyCat39, May 9, 2009 IP
  2. Masterful

    Masterful Well-Known Member

    Messages:
    1,653
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    140
    #2
    I don't understand what you mean. The contents of the box look fine, except that I can't see the link at the very end.

    Your problem is your positioning. You've used both position: relative; and float: left;. You can't use both. It's one or the other. Plus, you have 33 HTML errors, some of which I assume are responsible for the misplacement of your footer.
     
    Masterful, May 9, 2009 IP