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 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2010
    Member #
    I have a project that I have to complete for my class but it always
    looks different on different computers.

    The site is here Clearwater, FL Web Design Services - Piscitelli Design

    I want it to be centered with the red div on the right side and the white div
    on the left.

    Any help would be appreciated.


  3. #2
    Junior Member zeroality's Avatar
    Join Date
    Jul 2006
    Member #
    Use float instead of positioning. For a three div layout, this is what I would do:

    .divContainer {margin:auto;}
    .divLeft {float:left;}
    .divCenter {float:left;}
    .divRight {float:left;}
    <div id="divContainer">
    <div id="divLeft"><p>Left stuff here.</p></div>
    <div id="divCenter"><p>Center stuff here.</p></div>
    <div id="divRight"><p>Right stuff here.</p></div>
    Be sure to set width/height and other stuff as desired.

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 04:48 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: