Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Page Background, color/image possiable?

I can find no reference to adding page background. When I add image as background to html, it either "eats" the artical or throughs an "illegal" error. Other wise great product, but without a page background, not much use to me.
HELP !!!

Sherry Morton
Tuesday, March 19, 2002

Use the template.  I just created a page with CSS that has a background image.  I'd show it, but its on our intranet at work. 

Here is the template though:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META http-equiv=Content-Type content="text/html; charset=unicode">
// body {background-color: white}
body {background-image: url(/images/glencoeLogo_DEFAULT.gif);
    background-repeat: repeat-x;
    background-position: 30%;}

h1.SiteName {
    color: white;
    background-color: #003366;
    margin: 0;
    width: 100%;
    padding-bottom: .15em;
    font-size: 2em;
    font-weight: lighter

h2.Tagline {
    padding: 0;
    color: black;
    background-color: #cccc99;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.0em;

code, kbd {
    font-size: x-small;
    font-family: monospace;

<META content="MSHTML 6.00.2712.300" name=GENERATOR>

{$ setDateTimeFormat "English" "dddd, MMMM dd, yyyy"
"hh:mm" $} <IMG height=29 alt=[Image] hspace=4 src="PTMFOG0000000029.gif"
width=110 align=left border=0><h1 class=SiteName>{$ .SiteName $}
... etc.

Joel Goldstick
Tuesday, March 19, 2002

Sherry, the <BODY> statement where you need to add the BACKGROUND is in the TEMPLATE, not the article, because it applies to all pages.

It sounds like you're trying to add another <BODY> statement to the article.

Joel Spolsky
Tuesday, March 19, 2002

newbie here!  i had the same problem, but i just imported a blank ppt page with the background color that i wanted.  worked like a dream and so easy.  donna

donna henley
Tuesday, March 19, 2002

*  Recent Topics

*  Fog Creek Home