Lee-Bartlett Posted November 8, 2008 Share Posted November 8, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/131938-multiple-bgs/ Share on other sites More sharing options...
ifubad Posted November 8, 2008 Share Posted November 8, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-685505 Share on other sites More sharing options...
Lee-Bartlett Posted November 8, 2008 Author Share Posted November 8, 2008 This might sound bit stupid, but is css3 out, if so is it a download or does it automatically kick in? Also when i use a div, i use the ones out of dreamweaver atm, they change postion on each browser. Its very annoying Quote Link to comment https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-685527 Share on other sites More sharing options...
ifubad Posted November 9, 2008 Share Posted November 9, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-685811 Share on other sites More sharing options...
haku Posted November 10, 2008 Share Posted November 10, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/131938-multiple-bgs/#findComment-686454 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.