Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default <br class="clearBoth" />

    What is the purpose of this line? I spent fat too much time trying to remove extra space and overlooked this line. I removed it but not sure of it's purpose.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: <br class="clearBoth" />

    The main purpose is to prevent the IE Peek-A-Boo bug and act as a clearing element after floated elements.

    If you are having space issues you can set the height to zero.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: <br class="clearBoth" />

    Kim, thanks.

    Can I use the code without the br element? That was putting an extra line between each attribute option. I tried height, margin, etc but removing this line was the only thing that worked.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: <br class="clearBoth" />

    If things are working in both IE and FF without it you can remove it -
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. <br/> vs <br class="clearBoth" />
    By sendmenews in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 23 Jul 2021, 06:58 PM
  2. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  3. IE6 Where Do I Remove <br class="clearBoth">?
    By Kia in forum General Questions
    Replies: 3
    Last Post: 17 Mar 2008, 11:52 AM
  4. <br class="clearBoth" /> Cant Find Where These Are
    By enchantedone in forum Basic Configuration
    Replies: 6
    Last Post: 18 Jul 2006, 09:42 PM
  5. CSS advice needed: "clearBoth" div breaking my layout?
    By squidliberty in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Jul 2006, 05:27 PM

Posting Permissions

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