I want to add side images to my html page. On the entire left and right side of the page I want a image repeating vertically (different for each side).

How do I go about doing it?

7 Years
Discussion Span
Last Post by samw1

Simply because there's a few different ways you can accomplish this in CSS I'll toss you this link here to a search where the top 3-4 results should be able to help you through that.

Hope this helps :) Please remember to mark as solved once your issue has been resolved.

<style type="text/css">
body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background: #1280d5;
	margin: 0;
	padding: 0;
	color: #000;

/* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
.container {
	width: 80%;
	max-width: 905px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
	background: #1280d5;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */

background: url(images/Light_02.jpg) repeat-y left top;
background:#d2da9c url(images/ragged-left.gif) repeat-y right top;
padding:1em 1em 1em 0;
/* mac hide \*/
* html .innerx2{height:1%}
/* force "layout" in IE */
.outerx2 p{padding:0 10px;margin:0 0 1em 0}
</style><!--[if lte IE 7]>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */


<div class="outerx2">

<div class="container">

 <!-- Content Here -->

I edited out unnecessary info.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.