We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27305
    • 173 Posts
    I have a tiled background inside a div, its a 1 pixel high gif that tiles vertically.

    My question is more a general one about the pixel and performance with browsers.

    1.Is it better to tile vertically using 1 pixel in height

    or

    2.Is it better to tile a chunk say about 10 pixels in height as it has to tile less if you know what I mean

    Many thanks

    Si
      I made my first site with modx
      ------------------------
      Shopping blog
      Sky+ HD
      • 22815
      • 1,097 Posts
      I believe the answer is 2, the difference in filesize is naff all but the difference in the processing that a browser has to do is.. well it’s a tenfold difference. You may be able to find out the sweet spot if you search the web. It may be that 8px is preferable, for instance.
        No, I don't know what OpenGeek's saying half the time either.
        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
        Forum: Where to post threads about add-ons | Forum Rules
        Like MODx? donate (and/or share your resources)
        Like me? See my Amazon wishlist
        MODx "Most Promising CMS" - so appropriate!