Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Side-by-Side Alignment of DIV elements

    I've attached my code to give you an idea of what I'm trying to accomplish. Basically, I want to have the #main DIV be inline to the right of #officers DIV, but I'm not sure about how to go about it for DIV elements. Any help is greatly appreciated.
    Attached Files Attached Files

  • #2
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone have a comment on how to do this? I have the rest of the site pretty much done, its just this one issue that I need to finish, but by tomorrow morning.

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Location
    Raleigh, NC
    Posts
    273
    Thanks
    7
    Thanked 59 Times in 52 Posts
    Put a float: left with a specified width on #officers, and a float: right with a specified width on #main, then add a clear: both to the footer. You'll be good to go.


  •  

    Posting Permissions

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