Web Design Forums

Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Web Design Help » HTML and CSS Help » Can I add multiple background images to body in a skin? RSS

Can I add multiple background images to body in a skin?

This thread was started by Brian lan and has been viewed 300 times, and contains 2 replies, with the last reply made by filburt1.
Post Reply
1
View Brian lan's reputation
Brian lan, WDF Noob Private message  
Posted June 25 '09 at 01:31 PM
      Posts: 9
I know how to add one background image to the Body Standard CSS Attributes in a style, but is there a way to add more than one? What I'm trying to do is create the look that the four corners of the page are cut off, so I thought I could add a triangular image in each corner. But I can't figure out how to do that lol. Is there a better way than using an image?

Any help would be much appreciated.

Thanks in advance.


Advertisement Register for free to hide these ads and participate in discussions!

2
1,251 points at 99% Moderator Repute
mlseim, WDF Moderator Private message  
Posted June 25 '09 at 03:00 PM
      Posts: 3,100
Is your body (page width) fixed?
Or is it fluid ... stretches across browsers.

You do the background like you said and use other <div>'s with backgrounds
that go on top of the background. Those corners have a transparency (.gif or .png).
If it's zero degrees outside today, and it's supposed to be twice as cold tomorrow, how cold is it going to be?

3
794 points at 99% Donor Moderator Repute WDFplus Member
Posted June 25 '09 at 04:52 PM
      Posts: 11,793
Yes, you have to use multiple elements in some way.

CSS3 has a proposed method of multiple backgrounds but it's not supported by any browser that I know of.
filburt1, Web Design Forums.net founder
Want to advertise on this site?
Site of the Month contest: submit your site or vote for the winner!

Post Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Structure CSS to Display Correctly in IE jrucco HTML and CSS Help 5 June 27 '08 09:26 AM
Aligning Text with Background Images Help Biscuitplr HTML and CSS Help 3 March 20 '06 09:19 AM
CSS: Div Background Images Not Where Specified blackbird HTML and CSS Help 2 March 31 '04 03:18 PM
CSS: Controlling background images Maverick HTML and CSS Help 6 January 20 '04 09:54 AM
Javascript, clickable random images, pop-ups and multiple pop up window sizes btp5000 Javascript, AJAX, and JSON 0 August 19 '03 10:49 PM