SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Jun 2009
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Building a pixel grid

    Hi,

    Strange question but how hard would it be to build a grid of 70 x 70 squares at say 13 pixels x 13 pixels for a website..

    kind of like http://www.milliondollarhomepage.com/

    But better of course..

    Would it be a lot of work?

    thanks

  2. #2
    SitePoint Addict
    Join Date
    Jun 2009
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i forgot to say that I wil be uploading photos into these squares.. I need to be able to move them around quite easily also have a lightbox effect on each photo (wordpress user)

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2008
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Put small divs inside of a container div and float them to the left?

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,567
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    You could simply have a square as an image, and then just repeat it so it will tile the entire container . That'd be the easiest route.

    Unless you need to have hte page work in conjunction with the small squares, then the image would be best. If you need to work with the squares (which I find weird) then it would require a lot of markup and it wouldn't be worth it.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


Bookmarks

Posting Permissions

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