(Msg. 1) Posted: Mon Oct 19, 2009 12:55 pm
Post subject: background image Archived from groups: microsoft>public>frontpage>client (more info?)
I would like to create a background image/background that does not move
when you scroll through the web page. I guess you need to use css for that
but I'm not sure how. Any help would be appreciated.
(Msg. 2) Posted: Mon Oct 19, 2009 11:05 pm
Post subject: Re: background image [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Yes, you need CSS but not much
body { background: url(images/mypic.jpg) fixed repeat top left; }
The parameters are
repeat: causes small images to be repeated
fixed: does nor scroll
top left: places image at top left (or starting at top left when the image
repeats)
This can be put in the head section e.g
<html>
<head>
.........
<style type="text/css">
body { background: url(images/mypic.jpg) fixed repeat top left; }
</style>
....
<head>
<body>
.....
Alternatively, you can put the CSS in a separate file,.say "style.css". This
is then referred to in the <head> section as follows
<link rel="stylesheet" type="text/css" href="style.css">
"Mark" <rmwatrich DeleteThis @hotmail.com> wrote in message
news:DD977588-A4D4-432B-A755-30844FB37372@microsoft.com...
>I would like to create a background image/background that does not move
>when you scroll through the web page. I guess you need to use css for that
>but I'm not sure how. Any help would be appreciated.
>
> Thanks,
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum