I would use an external style sheet named styles.css in the examples
below, linked to all pages:
In the style sheet use
#desc {
height: 200px;
color: #ffffff;
padding: 0;
background: #505050 url('images/top.jpg') no-repeat top left;
clear: both;
margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
}
In every page, just before </head> in code view add
<link rel="stylesheet" href="styles.css" <type=text/css">
<style type="text/css">
#desc {background-image:url('images/topx.jpg');}
</style>
</head>
topx.jpg will replace top.jpg in that page. Change topx.jpg to the
correct image in each page.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support:
http://www.frontpagemvps.com/
"Wayne Wells" <(E-Mail Removed)> wrote in message
news:F7A39C03-8F7C-4730-ACD2-(E-Mail Removed)...
>I have a CSS tag that formats a header on the page. Currently it has
>an image
> as part of the description.
> I have currently copied the tag(#desc) and pasted numerous instances
> of them
> and renamed them to #desc1,2 etc, and used different images. I feel
> reasonably certain that this is NOT the right way to put in
> different images
> in the header of different pages. What is the right way to do this?
>
> #desc {
> height: 200px;
> color: #ffffff;
> padding: 0;
> background: #505050 url('images/top.jpg') no-repeat top left;
> clear: both;
> margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
> }
>
> #desc1 {
> height: 200px;
> color: #ffffff;
> padding: 0;
> background: #505050 url('images/back.jpg') no-repeat top left;
> clear: both;
> margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
> }
>
> #desc2 {
> height: 200px;
> color: #ffffff;
> padding: 0;
> background: #505050 url('images/left.jpg') no-repeat top left;
> clear: both;
> margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
> }
>
>
>