. CSS rollover.Mouse out - the upper part is displayed, mouse over - the lower part shows up. And no need to preload any additional images. Div with Repeating Background Image. In our second example, we will use the same image but this time for a larger div element. In order to fill the background of the large div element, we will repeat the background image using the following CSS code In the example above the URL is /images/css/bg-image-small.png. Here is how a div element would look when rendered with the above background-image CSS property value applied (I have added a dotted border to show you the boundaries of the div element) Id should be like this id"name" and image path should be without "" like : background-image: url(imagename) if you are not adding any content to other divs it wont show. add display:block to the css of wrapper to make it appear. and dont forget to add the background-align: left top try and see.
background-image: url(images/background.gif) background-repeat: repeat-y background-position: center top By the way you have a dodgy comment at the top of your stylesheet css.css.div background shows fine in IE but not in FF or Netscape. Might have to use its own personal variant in that case, such as: if(.browser.