Ok i have a div content inside which i have a div content-text. The background of div content is a content box which i have designed in photoshop but the problem is, when i paste content inside the content-text, it stretches but the border of the designed content box is not repeating (obviously it won't repeat) and i want it to repeat. Just like the image below:

[IMG]http://i33.tinypic.com/2ev7zae.jpg[/IMG]

Please tell me how can i make the border of that content box along with the shadow that surrounds it repeat until the end.

well, assume that you have <div id="shadow"></div> ;
in css, you've gotta have:

#shadow{
background:url(img/shadow.gif) repeat-y;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.