SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Background image - Part 2
-
Nov 27, 2002, 00:33 #1
- Join Date
- Aug 2002
- Location
- Burpengary, Australia
- Posts
- 4,495
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
Background image - Part 2
Hi,
I have this class -
PHP Code:th.bubble
{
color: white;
background-image: url(images/thBubble.jpg);
}
Any ideas??
Thanks
-
Nov 27, 2002, 01:35 #2
- Join Date
- Nov 2002
- Location
- Up the back of the bus
- Posts
- 47
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If your image is 1007px across, how wide is your th? Cause that sounds plenty wide enough.
However, if the image isn't wide enough then, to the best of my knowledge, all you can do is choose whether to repeat the background image or not with background-repeat: and the choices are repeat-x, repeat-y, repeat or no-repeat.th.bubble {
color: white;
background-image: url(images/thBubble.jpg);
background-repeat: repeat-x;
}
Neil
Bookmarks