Jump to content

multiple bgs...


Lee-Bartlett

Recommended Posts

I tried somthing like this.

 

body

{

background-repeat: repeat-x;

background-image: url(navbarbg.png);

}

 

body

{

background-repeat: no-repeat;

background-image: url(sidebar.png);

}

 

and it takes out the top one, i tried to re name body and it didnt work, how do i put multiple backgrounds onto a page with out using tables, tables mess up for me in browsers when i use dw

Link to comment
https://forums.phpfreaks.com/topic/131938-multiple-bgs/
Share on other sites

The ladder of the two takes precedence. CSS2 does not support multiple bg images, CSS3 does http://www.css3.info/preview/multiple-backgrounds/

 

You cannot apply more than one bg to the body. if you want to use more than one with CSS2, create at least two DIVs that covers the body area and put a bg in each.

Link to comment
https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-685505
Share on other sites

if the browser supports css3 (css3 is not official yet, but some new browsers have already adopted some of the new features), then it will automatically render the css3 settings automatically without any download needed, it's written into the user agent.

 

Never used dreamweaver. That's the fun part, trying to get it to look very similar in different browsers, worse is with IE as you know.

Link to comment
https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-685811
Share on other sites

CSS3 is not standard across browsers, so you are better off not using CSS3 features for the time being.

 

Dreamweaver is not a browser. It just pretends to be one. But it doesn't use the same rendering engine as any browser out there, so you may as well not waste your time looking at it. Always make your changes in dreamweaver, save, and load the page in the browser. Keep the browser page open, and as you make changes in dreamweaver, just hit F5 in the browser to refresh the page to see your changes. You will save hours of headaches this way.

Link to comment
https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-686454
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.