View Single Post
Old 06-24-2009, 09:01 AM   #1 (permalink)
alexondrums
Registered User
 
Join Date: Apr 2007
Posts: 97
OS: Windows XP Home SP3


Repeat image horizontally (css)

Hi,

I would like to create a page with an image that repeats horizontally only, and place text above and below the image.

I'm trying CSS using background-repeat: repeat-y, however this causes the image to fill the screen – I assume it gets to the end of the screen and continues filling horizontally on a new line?

The effect i want is:

SPACESPACE
SPACESPACE
TEXTEXTTEXT
<--IMAGE-->
Text Text Text


Many thanks
alexondrums is offline   Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here