360haven works best with JavaScript enabled
[CSS] 3 DIVs in a row
Loading
Register
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,322
    Array
    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 : 151 || Uploads : 12 || Rep Power : 6873 || Posts : 3,322 || Thanks : 488 || Thanked 4,199 Times in 1,282 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

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
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.
     

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+