Forum Moderators: mack

Message Too Old, No Replies

background tiling problems

background tiling is too distracting

         

pfrpwr

6:54 pm on Jan 22, 2004 (gmt 0)

10+ Year Member



How do I get rid of the tiling of my background?

Birdman

7:01 pm on Jan 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use CSS [webmasterworld.com] to acheive your goal.

Add this to your <body> tag:

style="background-image: url(/path/to/image.jpg)"

So it looks like this:

<body style="background: url(/path/to/image.jpg) no-repeat;">

If you have other attributes in the body tag, you may leave them there EXCEPT the one that originally defined the background image.

Also, replace no-repeat with repeat-y or repeat-x to make them tile in only one direction.