360haven works best with JavaScript enabled
[CSS] 3 DIVs in a row
Loading
Register
Login
Results 1 to 1 of 1
  1. #1
    Administrator
    Rpg_Fan

    Sephiroth is offline
    Join Date : Nov 2010
    Location : Setagaya-ku, Tokyo, Japan
    Posts : 3,328
    Array
    Homeland Defense Champion
    Twitter: @

    [CSS] 3 DIVs in a row

    Demo


    CSS



    Code:
    .mydiv:after {
      content: ".";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
    }
    .mydiv_left {
      overflow:hidden;
      float:left;
    }
    .mydiv_center {
      overflow:hidden;
      float:left;
    }
    .mydiv_right {
      overflow:hidden;
      float:left;
    }

    HTML

    Code:
    <div class="mydiv">
    <div class="mydiv_left" > Content here</div>
    <div class="mydiv_center" style="margin-left:20px">Content here </div>
    <div class="mydiv_right" style="margin-left:20px">Content here </div>
    </div>
    Downloads : 152 || Uploads : 12 || Rep Power : 7095 || Posts : 3,328 || Thanks : 488 || Thanked 4,207 Times in 1,284 Posts




    What i have shown you is reality. What you remember... that is the illusion.




  2. The Following 2 Users Say Thank You to Sephiroth For This Useful Post:


 

 

Similar Threads

  1. Help with CSS/HTML
    By Mocha in forum Discussion and Help
    Replies: 4
    Last Post: 03-30-2011, 12:58 AM
  2. CSS Font
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 08:14 AM
  3. CSS Text
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 08:04 AM
  4. CSS Background
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 08:00 AM
  5. CSS Id and Class
    By JizzaBeez in forum Tutorials and Resources
    Replies: 0
    Last Post: 03-03-2011, 07:52 AM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

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

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

Like this page

Google+