This is a discussion on "Background Image" within the Web Page Design section. This forum, and the thread "Background Image are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Background Image
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Background Image
Hey,
I am using a background image that I only want to appear once. At the moment it is appearing to "loop" See attached screenshot. The highlighted turquoise box is where the background is appearing where it is suppossed to be. Further down the page it is re-appearing and I dont want it to. The highlighted red box is where the background is looping. How do I stop this happening? I have tried to include a class that clears the background with a white background but it is not blocking out all the background. .clearBackground { background-image:url(img/background_repeat2.gif); background-repeat: repeat-x; } This is the code for the background image: #middlecontent { float: left; width: 476px; margin: 0; padding: 0; background-image:url(img/backcolour_1.jpg); } |
|
|
|
|||
|
Re: Background Image
JW,
ecampsite is right. You can even shorten it up a bit too if you want. This is all you need:
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
|
![]() |
| Tags |
| background, image |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how they do the background image act like that ? | marSoul | Webforumz Cafe | 11 | Nov 10th, 2007 19:18 |
| background image not big enough | mykl | Web Page Design | 7 | Oct 11th, 2007 19:08 |
| background image in a div | BumbleWeasle | Web Page Design | 5 | Oct 9th, 2006 12:37 |
| Background image overlaping footer image at bottom of div | lw_d | Web Page Design | 4 | Mar 21st, 2006 00:27 |
| Need help with my background image!!! | courtjester | Web Page Design | 3 | Sep 30th, 2003 15:25 |