3 replies [Last post]
CupidsToejam's picture
Last seen: 6 years 5 weeks ago
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556
Verschwindende's picture
Last seen: 1 week 1 day ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

I like it. I've always liked

I like it. I've always liked using the smallest possible background images but often that meant giving up and simplifying it.

thepineapplehead's picture
Last seen: 3 weeks 1 day ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9674
Points: 810

Viewing that page with images

Viewing that page with images off confused me Tongue

I read somewhere a long time ago that its best not to make your tiles too small as the browser has to render it more times - is this still an issue?

Verschwindende wrote:
  • CSS doesn't make pies

Hugo's picture
Last seen: 6 years 40 weeks ago
Joined: 2004-06-06
Posts: 15668
Points: 2806

As I had understood the issue

As I had understood the issue it's that with each image file there has to be a series of information stored with it, the colour bit depth and channels, so each time the browser parses that image it is forced to read duplicate information and store it with a consequence of using up valuable resources and memory. Regardless of size the information is the same but with an image 1px x 1px you might end up rendering that image 1,014,530 times if tiled on the body at my present viewport size, with the possibility that my browser would actually crash and burn, at least I have seen IE struggle to cope with rendering 1px images tiles. Is this still an issue? Would have thought it must always remain an issue, whether browsers can cope and or your machine spare the resources is another story?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me