Results 1 to 6 of 6

Thread: CSS Placement - Please Help

  1. #1
    Join Date
    Aug 2007
    Location
    MO USA
    Posts
    106
    Thanks
    37
    Thanked 0 Times in 0 Posts

    Default CSS Placement - Please Help

    I am trying to have three div's inside a div container - two div's on left one below the other and the third div on right. My problem is the third div aligns to the right of the second div - i am not able to bring it up. Please help.



    Thanks
    Last edited by me_myself; 11-17-2008 at 09:19 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You could add another division, one to contain #'s 1 & 2.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    me_myself (11-14-2008)

  4. #3
    Join Date
    Aug 2007
    Location
    MO USA
    Posts
    106
    Thanks
    37
    Thanked 0 Times in 0 Posts

    Default

    Thanks jscheuer1, tried that it works in ie but firefox still shows div 3 close to div 2

    can you please post a sample css

    Thanks

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try floating it left:
    HTML Code:
    <div>
      <div id="leftdiv">
        <div>Div 1</div>
        <div>Div 2</div>
      </div>
      <div>Div 3</div>
    </div>
    Code:
    #leftdiv {
    	float:left;
    }

  6. The Following User Says Thank You to Snookerman For This Useful Post:

    me_myself (11-14-2008)

  7. #5
    Join Date
    Aug 2007
    Location
    MO USA
    Posts
    106
    Thanks
    37
    Thanked 0 Times in 0 Posts

    Default

    That was real dumb of me !!! Thanks so much for the help

  8. #6
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome! Make sure you edit your first post and ad the Resolved prefix to the thread.

Bookmarks

Posting Permissions

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