On May 13, 2005, at 3:10 AM, Karl Bedingfield wrote:
Can I have different body tags based on page requirements?
Yes. Give your body either an id or class on each page and define different styles in the style sheet to show the alternate bg images. For example:
Home page would have <body class="home">
"other" page would have <body class="otherpage">
etc.
Style sheet would be as follows.
body {
background: #E0DDD6 url(/images/bbg.gif) repeat-y 50% 0;
font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
text-align: center;
padding: 0;
margin: 0;
}body.home{
background: #000 url(path/to/your/image.gif) repeat-y 50% 0;
}body.otherpage{
background: #000 url(path/to/other/image.gif);
}etc.
Mike Stickel Screenflicker Developments www.screenflicker.com
p: 403-923-7667 e: [EMAIL PROTECTED]
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
