Consider this scenario: Your image file is named image.jpg and it has dimensions of 100px in height and 100px in width:
To implement this, add the following code snippet within the <head>
tag:
<style>
.div_row
{
width: 100px;
min-height: 100px;
}
.img_column
{
width: 100px;
height: 100px;
background: url('image.jpg') no-repeat;
float: right;
}
</style>
Then, within your <body>
tag, include the following:
<div class="div_row">
<div class="img_column"></div>
<div class="img_column"></div>
<div class="img_column"></div>
<div class="img_column"></div>
<div class="img_column"></div>
<div class="img_column"></div>
</div>
You have the option to repeat
<div class="img_column"></div>
as many times as needed.
Alternatively, you may want to try this suggestion for a better presentation:
<style>
.div_row
{
width: 100px;
min-height: 100px;
}
.img_column
{
width: 100px;
height: 1000px;
background: url('image.jpg') repeat-y;
float: right;
}
</style>
<div class="div_row">
<div class="img_column"></div>
</div>
This setup will create a vertical scroll effect with 10 repeated images (1000px height divided by 100px per image equals 10 slides).