...

View Full Version : Repeating a pattern



IFeelYourPain
05-09-2009, 08:13 PM
I have a pattern:
http://img266.imageshack.us/img266/9735/91157297.png

and I wish it to repeat so that it doesnt look wierd. I just want diagonal lines all the way in the background. How can I do this with CSS?

timgolding
05-09-2009, 09:07 PM
Hi have you tried



<style>
.patterned
{
background-image:url(path_to_image.gif);
width:100%;
height:20px;
}
</style>

<div class="patterned"></div>




By default in css background images are repeated

IFeelYourPain
05-09-2009, 09:13 PM
Hi have you tried



<style>
.patterned
{
background-image:url(path_to_image.gif);
width:100%;
height:20px;
}
</style>

<div class="patterned"></div>




By default in css background images are repeated
Thanks :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum