Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    2
    Member #
    10535
    I am trying to get a website that was designed with <div> tags to work. It works for the most part but it will end up overlapping. Example:
    http://www.edienterprises.com/prepaid/Platforms.php

    the code for that page looks like this:
    Code:
    <?php # homepage - index.php
    
    // Set the page title and include the HTML header.
    $page_title = 'EDI Enterprises:GR-303, GR303, V5, TTCN, CALEA, protocol stacks';
    include ('header.inc');
    ?>
    <?php
    include ('sidemenu.inc'); // Include the HTML footer.
    ?>
    <div id = "Content">
    The different platforms are:
    GEM-THUNDER
    This one...
    
    GEM-LIGHTNING
    This platform...
    
    ODIN
    Analyzes...
    </div>
    <?php
    include ('footer.inc'); // Include the HTML footer.
    ?>
    You can view the header, footer, and sidemenu files here:
    http://www.edienterprises.com/prepaid/header.inc
    http://www.edienterprises.com/prepaid/footer.inc
    http://www.edienterprises.com/prepaid/sidemenu.inc

    Any help would be appreciated.

  2.  

  3. #2
    Member
    Join Date
    May 2005
    Location
    Rochester, NY
    Posts
    83
    Member #
    10054
    Your CSS file is positioning all those divs absolutely...meaning it specifies pixel by pixel where every div is located. You'll have to fine tune that positioning if you don't want them to overlap. For example:

    Code:
    #EDIdescription {
    	position:absolute;
    	top:50px;
    	left:240px;
    	width:400px;
    positions the contents of EDIdescription 50 pixels from the top of the window and 240 pixels to the left. If that's overlapping with another div, you'll have to adjust the values for top and left. Does that make sense?

    -Mike
    michael murphy
    Professional Web Development
    http://www.letsgomurphys.com/

  4. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    2
    Member #
    10535
    Ahh, I get it. Thanks a ton!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com