jpg as background picture

D

Don

Using FP2002, is there any way to use a jpg as a
background picture (format, background, click background
picture, etc) and NOT have it tile? I just want one
image to show up.
 
L

Lisa Wollin \(Microsoft\)

There isn't any way to do this through the FrontPage UI, but you can do this
with CSS. However, you will need to add the CSS code to your page manually.

First, switch to Code (or HTML) view.
Next, copy and paste the following into the HEAD section of your page. You
will need to change the "graphics/filename.jpg" to the image that you want
displayed as your background image.

<style>
body{
background: url(graphics/filename.jpg) no-repeat fixed center;
}
</style>
 
D

Don

Thanks Lisa,
But I still have a problem.
My code now looks like this:
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 3</title>
<meta name="Microsoft Border" content="l">
<style>
<body {background: url (Widow%20flip%20REVISE.jpg)
no-repeat fixed center;
}
</style>
</head>
Now it shows no background at all :( What did I miss??.
 
S

Stefan B Rusynko

Make it
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<meta name="Microsoft Border" content="l">
<style>
body {background: url (Widow%20flip%20REVISE.jpg) no-repeat fixed center; }
</style>
</head>
<body>

PS
remove all spaces from file / folder names - illegal html
Rename "Widow flip REVISE.jpg"
to "Widow_flip_REVISE.jpg"



| Thanks Lisa,
| But I still have a problem.
| My code now looks like this:
| <head>
| <meta http-equiv="Content-Language" content="en-us">
| <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <meta http-equiv="Content-Type" content="text/html;
| charset=windows-1252">
| <title>New Page 3</title>
| <meta name="Microsoft Border" content="l">
| <style>
| <body {background: url (Widow%20flip%20REVISE.jpg)
| no-repeat fixed center;
| }
| </style>
| </head>
| Now it shows no background at all :( What did I miss??.
|
|
|
| >-----Original Message-----
| >There isn't any way to do this through the FrontPage UI,
| but you can do this
| >with CSS. However, you will need to add the CSS code to
| your page manually.
| >
| >First, switch to Code (or HTML) view.
| >Next, copy and paste the following into the HEAD section
| of your page. You
| >will need to change the "graphics/filename.jpg" to the
| image that you want
| >displayed as your background image.
| >
| ><style>
| >body{
| >background: url(graphics/filename.jpg) no-repeat fixed
| center;
| >}
| ></style>
| >
| >--
| >Lisa Wollin
| >Programmer Writer
| >Microsoft Corporation
| >
| >| >> Using FP2002, is there any way to use a jpg as a
| >> background picture (format, background, click
| background
| >> picture, etc) and NOT have it tile? I just want one
| >> image to show up.
| >
| >
| >.
| >
 

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