Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: CSS float

  1. #11
    Join Date
    Feb 2007
    Location
    West Midlands
    Posts
    1,168
    Tokens
    0
    Habbo
    Jibbish

    Latest Awards:

    Default

    Code:
    <div style="clear: both; width: 100%; height: 0; line-height: 0; font-size: 0; padding: 0; margin: 0; border: 0;">&nbsp;</div>
    add that after your text

  2. #12
    Join Date
    Jul 2008
    Posts
    119
    Tokens
    0

    Default

    Quote Originally Posted by Linkin Park View Post
    Code:
    <div style="clear: both; width: 100%; height: 0; line-height: 0; font-size: 0; padding: 0; margin: 0; border: 0;">&nbsp;</div>
    add that after your text
    I was doing that before, but is there any way to do by adding something to .mid or .bottom?
    Signature Removed by Jamesy (Forum Super Moderator): Referal

  3. #13
    Join Date
    Feb 2007
    Location
    West Midlands
    Posts
    1,168
    Tokens
    0
    Habbo
    Jibbish

    Latest Awards:

    Default

    try adding
    clear: both; width: 100%; height: 0; line-height: 0; font-size: 0; padding: 0; margin: 0; border: 0;
    to the css of bottom or mid

  4. #14
    Join Date
    Mar 2008
    Location
    Cardiff, S. Wales
    Posts
    536
    Tokens
    0

    Default

    Quote Originally Posted by Linkin Park View Post
    Code:
    <div style="clear: both; width: 100%; height: 0; line-height: 0; font-size: 0; padding: 0; margin: 0; border: 0;">&nbsp;</div>
    add that after your text
    Why should he add that, when he can do it in CSS?

    & try to Span it.

  5. #15
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    I know how to fix this.. I had the same problem

    add
    Code:
    overflow: auto;
    width: 100%;
    to the container?


  6. #16
    Join Date
    Jul 2008
    Posts
    119
    Tokens
    0

    Default

    Quote Originally Posted by L?KE View Post
    I know how to fix this.. I had the same problem

    add
    Code:
    overflow: auto;
    width: 100%;
    to the container?
    Thanks, that has fixed it
    Signature Removed by Jamesy (Forum Super Moderator): Referal

  7. #17
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    good


Page 2 of 2 FirstFirst 12

Posting Permissions

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