...

View Full Version : CSS background-repeat



macchisp
05-10-2007, 03:19 PM
I know you can repeat an image by using the following code


background-image: url('images/header.jpg');
background-repeat: repeat-x;

My question is, can you set a limit on how far it can repeat? If so, how would you go about doing this for 75% width?

Thanks.

kewlceo
05-10-2007, 03:48 PM
Why not just make a container that's 75% wide and put your background: url(images/header.jpg) repeat-x; there?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum