You need to sign in to do that
Don't have an account?

CSS & VF background image
I'm playing around with css and visualforce. I believe this could be very useful but I'm having an issue with where to place the tags.
I have a static resource loaded called tablayoutCSS that is a zip file with some images and css.
One of the images is a background image we want to use for the whole page. Where and how do I place this in visualforce?
Thanks,
Hi,
Try the following code:
Let me know if you have any concerns.
If i'm using a standard controller will this not work?
The background image didn't render but I did lose my scrollbars.
It will work for the standardcontroller also. Could you please post your code.
Here you go! Thanks for the help.
Have you kept you code between <body> </body> tags ?
For example,
<body>
<apex:form>
</apex:form>
</body>
we are defining the style for body, that is the reason you need to put your code between <body> and </body>
Hi!
body{ ==>> .bodyDiv{
Try it!