When using repeated background images in css...

Soldato
Joined
18 Oct 2002
Posts
9,047
Location
London
Is it better to use 1px width images if it's just repeated? Obviously there's less to download if you use a 100x1 image (e.g.)
But for some reason I wondered if it was better for performance if it was larger? i.e. 100x100?

I have a feeling this is a really stupid question, but I've always wondered what was best.
 
Doesnt the bottom of the gradient turn into a solid colour? That's what mine does, and I then only have a 400px high image and have the background colour the same as the end of the gradient so it looks normal.
 
Link in sig, its got hatching on it, which, iirc is why it was made it 4px wide.
 
Last edited:
Back
Top Bottom