SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    float won't clear??

    Okay I can't get link on the footer to ignore the float or that's what I think...

    http://deva.bambl.clients.blinkss.com/index.html

    It's the text that says, "our personal training"

  2. #2
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,729
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    what do you want it to do?

    you could add: float:right; or clear:both;

    But honestly the HTML is so riddled with errors and inline CSS it's really hard to diagnose, still I hope that helps.

    PS this might help in validating your HTML : http://validator.w3.org/

  3. #3
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want it to appear on the next line, below the social medai images. I tried cleared both and it didnt' work.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,788
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Try this:

    Code:
    .PersonalTrainerFooter{
    clear:both;
    display:block;
    width:auto;
    }
    The cleared element can't be an inline element. (widths and heights don't apply to inline elements either).

    Or you could do something like this:
    Code:
    #SocialListFooter + p{
    clear:both;
    }
    But of course you still need to apply the block display to the anchor if you want dimensions to apply.


Tags for this Thread

Bookmarks

Posting Permissions

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