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 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2008
    Posts
    90
    Thanks
    5
    Thanked 3 Times in 3 Posts

    CSS rows of 4 div side by side

    Hi all,

    I was wondering how to have divs go side by side.

    I accomplished this somewhat by using float:left, and then using margins to space them apart.

    But, the problem is that when I want to create another row of these same divs, I cannot space them apart.

    I tried showing the result but I don't know how to attach an image.

    If you need me to put the code here, too, I can. I just think its unnecessary because this should be general and apply to all divs.


    Thanks in advance,
    Steven
    Last edited by BigRusky; 06-19-2009 at 12:25 AM.

  • #2
    New Coder
    Join Date
    Aug 2008
    Posts
    90
    Thanks
    5
    Thanked 3 Times in 3 Posts
    i figured it out, use clear: both


  •  

    Posting Permissions

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