Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member GeZe's Avatar
    Join Date
    Dec 2003
    Posts
    330
    Member #
    4381
    how do you make divs tile horizontally?

    I have a 10x10 grid.

    HTML Code:
     <div class="row">
     <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
     </div>
    the divs inside the row have to tile horizontally.
    -GeZe

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    use the float property

    Code:
    .tile {
      float: left;
      width: 10px;
      margin: 0;
      padding: 0;
    }
    Code:
    <div class="tile"></div><div class="tile"></div><div class="tile"></div><div class="tile"></div>
    don't know if this example actually works, but something like this
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member GeZe's Avatar
    Join Date
    Dec 2003
    Posts
    330
    Member #
    4381
    thanks
    -GeZe


Remove Ads

Posting Permissions

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

Search tags for this page

create a tiled div
,
css horizontal tiles
,

css tile horizontally

,
div class tile
,

div tile

,
div tiles html
,
how to add tiles in a div horizontally
,
how to tile two div
,
html5 div tiles
,

tile div

Click on a term to search for related topics.
All times are GMT -6. The time now is 01:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com