SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2009
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "clear:both" affects to a div outside

    Hi,

    This is my page:

    http://www.tirengarfio.com/rs1/web/f...d.php/miembros

    login: fer
    password: m
    Note: after login you will be redirected to another page. Then click again the link i mention.


    Why i have a gap between the list of people and the header of the list ("Resultados" and page buttons) ?? It's like the "clear:both" of the "cuerpo_lista_miembros" div is affecting also the filter (that is outside the "lista_miembros" div).

    "cuerpo_lista_miembros" means in spanish "member_list_body".

    Im using FF 3.6.


    Regards

    Javi

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,168
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by tirengarfio View Post
    It's like the "clear:both" of the "cuerpo_lista_miembros" div
    Yes. So why not remove it? What are you trying to achieve by having it there?

  3. #3
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like ralpm said: removing the clear: both; will let it slide in place. Cursory checked in FF.
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2009
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks both, it's true..

  5. #5
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need


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
  •