Results 1 to 2 of 2

Thread: Spacing Issues with Divs

  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Spacing Issues with Divs

    'm stuck guys: I'm doing a site in ASP. The body area consists of 3 parts arranged horizontally

    Part A is pictures
    Part B is in the middle with text
    Part C is pictures again

    They are all contained withing another "body" div

    I got them all aligned properly in IE, but in FF and Chrome Part C displays below Parts A+B, to the rights side of the screen.

    any help? I hate these differences between browsers

  2. #2
    Skitrel Guest
    Common problem with formatting in any website regardless of what code you're using. You need to lock them in place.


    I know of a couple of solutions:

    Code:
    <style type="text/css">
    <!--
    DIV.50x50 {
    position: absolute; // Keeps box in place
    left: 100px; // How far from left you want it
    top: 100px; // How far from top you want it
    }
    //-->
    </style>
    <div class="50x50"></div>
    OR:

    Code:
    <div style="position: absolute; left: 100px; top: 100px;"></div>
    Hope this helps.

Similar Threads

  1. Issues with layout spacing!
    By bridges552 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 20 Jun 2008, 11:11 PM
  2. Spacing Issues in IE 6
    By geoff_alan in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 03 May 2006, 10:12 AM

Posting Permissions

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