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

Thread: CSS Question

  1. #1
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Question

    Hi team,

    This is my page: VIDEOS » TAYLOR SHAIN FILMS

    I will eventually have 14-15 videos on this site. Right now it's just one long column of videos, how can I arrange them into a few rows?

    Basically I want to put the videos next to each other. Any ideas?

  • #2
    New Coder
    Join Date
    Jul 2014
    Location
    Athens, Greece
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok....
    first your videos are in iframes.

    1) Make your black column wider, so the videos can be arranged next to each other
    2)Wrap every video into a div. example. <div class='video'></div>
    3) css style for .video{float:left; margin:10px;}

    That's it!
    You can also do it with display:inline-block


  •  

    Posting Permissions

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