Help With My Code

Discussion in 'HTML & Website Design' started by CWN, Jul 17, 2006.

  1. #1
    On my page, http://proxiesrus.com/index.php - in IE, the proxy div appears to be much lower than where it should be. In Firefox (etc) it is fine, and my code is 100% correct according to the validator.

    Any thoughts, please?
     
    CWN, Jul 17, 2006 IP
  2. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Had a quick look.. do u have a "clear: both;" div in there?
    Not sure if that will fix it, just a thought.
    :)
     
    ing, Jul 17, 2006 IP
  3. CWN

    CWN Banned

    Messages:
    311
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    :) Thanks for advice

    Someone told me it's because... "I don't have a div tag closed" they're making guess, but?

    EDIT:

    I removed...

    
    <div id="sidebar">
    						<h1>FUN LINKS </h1>
    			<div class="submenu">
    			  <div align="right"><span class="goal">
    			    <?php include("inc/1.php"); ?>
    		        </span></div>
    			</div>
    				
    				<h1>SPONSORS</h1>
    					<div class="submenu">
                        <?php include("inc/2.php"); ?>
                        </div>
    					
    					
    					<h1>FREE SOFTWARE</h1>
    					<div class="submenu">
                        
                          <div align="center">
                            <?php include("inc/3.php"); ?>
                          </div>
    					</div>
    		  </div>
    
    Code (markup):
    and it went to the top...
     
    CWN, Jul 17, 2006 IP
  4. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #4
    Check your divs. This sort of problem is due to the fact that you have your <div>s nested in the wrong way...

    I need to see your CSS file to help u properly (couldnt access it at "css/1.css"... maybe something wrong with my connection) but try moving the <div> that contains all your form elements so its between <div id="content"> and <div id="sidebar"> within the code.

    Anyway see if that helps - if not then give me the css file and I'd be willing to help.
     
    Darkhodge, Jul 17, 2006 IP
  5. CWN

    CWN Banned

    Messages:
    311
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    CWN, Jul 18, 2006 IP