Webmaster Computer Resources Help And Learn To Earn Ideas!
I have a reference to the background on my xml document, but I dont know how to use CSS to set that image as a background
The code in my XML document is:
image.jpg
Thanks for your help
Comments (3)
body { background: url(images/web2bkrnd.jpg) top left; background-attachment:fixed; }
is css
With out some server side code, you couldn’t specify the background with just a tag in the document.
Include this at the top of the XML document.
In common.css style the 1st Parent in your XML Document the same way you would style the body tag.
In fact you could even use if you so wished!
tag { background-url:url(image.jpg); }
Consider the XML specification below:
Celia Larkin
Bertie Ahern
This refers to a CSS style-sheet
The contents of the CSS file personnel2.css are: male {color : blue; background-color : orange} female {color : pink; background-color : green}
You must be logged in to post a comment.
Welcome to WebmasterTechs.com, your source for great webmaster resources and tips! Enjoy the site!
February 7th, 2007 at 7:34 am
body
{
background: url(images/web2bkrnd.jpg) top left;
background-attachment:fixed;
}
is css
February 9th, 2007 at 9:45 pm
With out some server side code, you couldn’t specify the background with just a tag in the document.
Include this at the top of the XML document.
In common.css style the 1st Parent in your XML Document the same way you would style the body tag.
In fact you could even use if you so wished!
tag {
background-url:url(image.jpg);
}
February 12th, 2007 at 11:17 am
Consider the XML specification below:
Celia Larkin
Bertie Ahern
This refers to a CSS style-sheet
The contents of the CSS file personnel2.css are:
male {color : blue; background-color : orange}
female {color : pink; background-color : green}