1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Rep Power

    Why can't be in two columns ?

    Hello Dears
    I need help in having two columns in my website , i don't know why it can't be done
    i tried everything with table and div and css ,, but it appears on column is down and the another is up
    it's so strange !!!!!!!! i tried also valign and top in css but it doesn't work

    here is an example for my website http://videos.play35.com/funniest-security-footage-of-idiot-car-crash/

    the problem that is under the video
    i want to make the Description and the Ad 300x250 in two columns but as you see , the description is down and the ad is up !!!!!!

    I appreciate your help

  2. #2
  3. The Queen of Typos
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2004
    Jensen Beach
    Rep Power
    The page was not found when I looked.

    What you need to do is float your containers to make the columns. In addition to floating them you will want to specify a width for the container. If the width of the containers is wider than the available space, one of them will get pushed down, like what you're describing. Things like padding and margins will affect the width due to the box model.

    A few resources for you:

    CSS Float
    CSS Float Theory: Things you should know
    The CSS Box Model

IMN logo majestic logo threadwatch logo seochat tools logo