WTB: I will pay $25 to the first person who can post a solution to my html error

Discussion in 'Programming' started by webnetsecure, Oct 6, 2010.

  1. #1
    I posted this is the wrong area by accident! It is supposed to be in the buy sell trade section since i am offering money. Please forgive me. You will find this same question there. If an admin sees this please delete the post. Sorry for the trouble.

    Somehow I introduced a bug that I can't find. I will pay $25 to the first person to post to this thread the problem AND A FIX. You may need to to a file save-as to put a local copy on your hard disk to find the problem.

    Ok so here is the problem:

    http://www.xmms3.com/sami/What_does...ber_is_temporarily_disconnected-qna39774.html

    works fine

    Now the new version that has a bug:

    http://www.xmms3.com/branch/What_do...ber_is_temporarily_disconnected-qna39774.html

    Notice the box that is supposed to go around the entire page now only goes around the top header area. I can only imagine a div or table was closed early or something. Anyway I will pay you $25 if are the first to post a solution to this thread. Do not PM me the solution because I need it to be clear who was first in case there are two solutions close together.

    Thanks guys!

    Doug
     
    Last edited: Oct 6, 2010
    webnetsecure, Oct 6, 2010 IP
  2. Pixel T.

    Pixel T. Well-Known Member

    Messages:
    1,205
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Simple fix. Right before you end the div for the box, add the following code

    <div style="clear: both;"> </div>

    Will work. So basically if you have something like this.

    <div id="box">

    <div id="1"> Text </div>
    <div id="2"> Text2 </div>

    <div style="clear: both;"> </div>

    </div>

    The reason it happens is because as in the example above, you have the div 1 + 2 set with float: left or float: right.

    Hopefully, this explains it. Let me know if it works
     
    Pixel T., Oct 6, 2010 IP
  3. webnetsecure

    webnetsecure Active Member

    Messages:
    168
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #3
    thats great in concept but i dont see any of that in my code. I am reposting this under the buy sell trade section because I posted here by accident.
     
    webnetsecure, Oct 6, 2010 IP