SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: 2 images as page background?
-
Nov 23, 2002, 00:38 #1
- Join Date
- Apr 2001
- Location
- Canada
- Posts
- 5,458
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
2 images as page background?
Hello,
I need some help from the local css gurus
I already think I know the answer, but it doesn't hurt to ask
What I would like it to have 2 images as the page background; 1 repeating along the top of the page (x axis) and 1 repeating along the left side of the page (Y axis).
Is this possible?
/me praysMike
It's not who I am underneath, but what I do that defines me.
-
Nov 23, 2002, 02:22 #2
- Join Date
- Mar 2002
- Location
- Svíþjóð
- Posts
- 4,080
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
And what do you want in the top left corner?
I don't think it's possible (using document background), using two divs is a better idea
-
Nov 23, 2002, 02:30 #3
- Join Date
- Apr 2001
- Location
- Canada
- Posts
- 5,458
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Logo would be in the top left corner
It fits nicely into the design
Mike
It's not who I am underneath, but what I do that defines me.
-
Nov 23, 2002, 02:31 #4
- Join Date
- Jun 2001
- Location
- Adelaide, Australia
- Posts
- 6,441
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yeah, I really want this feature too Mike! It'd make my life so much easier...
(also - http://www.sitepointforums.com/showt...wo+backgrounds)
-
Nov 23, 2002, 02:36 #5
- Join Date
- Apr 2001
- Location
- Canada
- Posts
- 5,458
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by platinum
(also - http://www.sitepointforums.com/showt...wo+backgrounds)
I spent the last hour trying to make mor corner work, I really would have liked to have dual-backgroundsAdd to that my design implodes in a window smaller than 800px wide
Mike
It's not who I am underneath, but what I do that defines me.
-
Nov 23, 2002, 04:25 #6
- Join Date
- Mar 2002
- Location
- Svíþjóð
- Posts
- 4,080
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I think the nature of a background image is that it's a single image
I.e. the body of an element can only have one background image, while the different borders (top, left etc) can have different background properties
Unfortunately, the body element has no borders
Why can't you do like this?
http://jofa.8bit.co.uk/dualbg.htm
-
Nov 23, 2002, 05:35 #7
- Join Date
- Jun 2001
- Location
- Adelaide, Australia
- Posts
- 6,441
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Jofa.... you are a genuis
Love it, thankyou thankyou hehe...
Hope it wasn't stupidly obvious to everyone else
// me goes to test
Bookmarks