Background Color Outside of Table

S

Steven Zats

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
 
T

Tom Willett

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?
 
S

Steve Easton

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
 
M

Murray

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top