> From: [EMAIL PROTECTED] > Sent: Tuesday, October 17, 2006 5:31 AM > I want individual body properties depending on the page id. > > and this is my css > > #home body { > background-image:url(/images/home_bg.jpg); > background-position: 0px 200px; > background-color:#0033CC; > background-repeat:repeat-x; > margin:0; > font-family:Arial, Helvetica, sans-serif; > }
> nothing appears the background image, the font is the wrong > one. It is like it is totally ignoring it. This will work (in some browsers) if you the element containing your body tag has an ID of home <html id="home"><body>Your styles applied here</body></html> Please note I don't know if you can attach an ID to the HTML element, and if so, which browsers support it. Try <html><body id="home">Some HTML</body></html> body#home { // Your attributes here } HTH. --G ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/