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
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,190
    Thanks
    175
    Thanked 257 Times in 257 Posts

    lining up classes side by side[resolved]

    Probably an easy question and for some reason i have forgotten it or never learned it. The problem i face is taking 2 classes and lining them up horizontally. like so ---

    Code:
    .boxes {
    height:100px;
    width:150px;
    border:1px solid #000000;
    margin:12px;
    }
    i have a width maximum of 400px. So i possibly could fit another box in there besides two.

    ok the question: How would i make them line up with out using floats? I know this is probably basics but for the life of me i cant remember how to do this.

    Hope someone can help, i appreciate any help!!

  2. #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,190
    Thanks
    175
    Thanked 257 Times in 257 Posts
    nevermind, i just floated them left, i always miss the little things!!


 

Posting Permissions

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