css web background frontpage 2003
I'm trying to create a web background that I can use through my web site
using css. I can get the color to work but I'm not sure about the proper
code to use if I want every page to use a certain background image. Any
help would be appreciated.
Re: css web background frontpage 2003
body{
background-image:url('imagename.jpg');
}
add either background-repeat:repeat;
or background-repeat:no-repeat;
depending upon what you want
If the image is in a folder,, the url would be foldername/imagename.jpg
--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
"Mark" <rmwatrich [at] hotmail.com> wrote in message news:%232O8bs2kIHA.2268 [at] TK2MSFTNGP02.phx.gbl...
> I'm trying to create a web background that I can use through my web site using css. I can get the color to
> work but I'm not sure about the proper code to use if I want every page to use a certain background image.
> Any help would be appreciated.
RE: css web background frontpage 2003
You can either put the css Steve Easton provided on every page in the <head>
section between <style type="text/css"> and </style> or you can put all css
code in a file, name it something like styles.css and then link to it on
every page with <link href="styles.css" rel="stylesheet" type="text/css"> in
the <head> section.
"Mark" wrote:
> I'm trying to create a web background that I can use through my web site
> using css. I can get the color to work but I'm not sure about the proper
> code to use if I want every page to use a certain background image. Any
> help would be appreciated.
>
>
Re: css web background frontpage 2003
okay. Thanks guys for your help
"Dan L" <DanL [at] discussions.microsoft.com> wrote in message
news:3146329E-2359-46C0-A153-2B058CA6C1F2 [at] microsoft.com...
> You can either put the css Steve Easton provided on every page in the
> <head>
> section between <style type="text/css"> and </style> or you can put all
> css
> code in a file, name it something like styles.css and then link to it on
> every page with <link href="styles.css" rel="stylesheet" type="text/css">
> in
> the <head> section.
>
> "Mark" wrote:
>
>> I'm trying to create a web background that I can use through my web site
>> using css. I can get the color to work but I'm not sure about the proper
>> code to use if I want every page to use a certain background image. Any
>> help would be appreciated.
>>
>>