View Full Version : How do you change placement of the background image (repeat, not repeat, etc.)
gemini2011
05-27-2003, 09:08 PM
I have looked in several books and each tell me to do something different. None of the methods work. How do I change the background so it is non-repeat, repeat, just on the left (not repeating horizontally)?? I would really appreciate any help. This prblem has really been burning me up.:mad:
bradyj
05-27-2003, 09:22 PM
If you are using CSS, here you go:
background-repeat: repeat;
background-position: left;
...or for no repeat:
background-repeat: no-repeat;
...and if you want it to repeat left to right only:
background-repeat: repeat-x;
...or if you want it to repeat top to bottom only replace the 'x' with a 'y'.
Is that what you wanted? You need to use CSS for this to work, it will not work as HTML coding. You may put this in a document or externally -- if you have questions about that, post and I'll tell you.
gemini2011
05-27-2003, 11:49 PM
I was looking for an answer in HTML. That is the concept I am looking for just in HTML not CSS.
:) :thumbsup:
You were talking about 'repeat' so you are already using CSS. :)
You can't affect the display or behavior of a background in HTML -- you can just have it or not. If it's there it will tile. You need CSS.
whackaxe
05-28-2003, 12:22 PM
learning CSS canonly do you good so don't clutter up with html :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.