Background Color Outside of Table

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm having trouble getting a background color for a page outside of a table
to appear on my site AND I'm having trouble getting a background image for a
table to appear.

I properly have the background color OUTSIDE the border of the table listed
in the body as:

<BODY bgcolor="#EEEEE6">

And I have the background image for the table as:

style="background-image:url('/images/rpt_bg.gif').

HELP!

Thanks,
Steve
 
You have failed to tell us what your "trouble" is.
Can you be more specific, and perhaps provide us with a URL to your site to
check the page in question?
 
Apply your background color using CSS

In the head section

<style type = "text/css">
body{
background-color: #EEEEE6;
}
</style>

For the table image remove the leading / before images like this:

style="background-image:url('images/rpt_bg.gif').

Your style tag was trying to find the image one level "above" the images folder.


--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
Your style tag was trying to find the image one level "above" the images

Actually not. It was trying to find the images folder at the root level of
the site. But root relative links don't play so well with FP, no?
 
Back
Top