PC Review


Reply
Thread Tools Rate Thread

adding the same picture to each web page

 
 
Mark
Guest
Posts: n/a
 
      15th Nov 2006
Would like to apply a certain picture on each web page. What is the best
method? If I wanted to create a .css for the web page logo how would I go
about doing that? Is this the best method in fp 2k3?

thanks


 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      15th Nov 2006
Have you considered using a DWT (Dynamic Web Template)?

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

Any experience you can walk away from
is a good one.



"Mark" <(E-Mail Removed)> wrote in message
news:O%(E-Mail Removed)...
> Would like to apply a certain picture on each web page. What is the best
> method? If I wanted to create a .css for the web page logo how would I go
> about doing that? Is this the best method in fp 2k3?
>
> thanks
>



 
Reply With Quote
 
David Berry
Guest
Posts: n/a
 
      15th Nov 2006
Put the picture on it's own page and then include that page on all the
others using Insert, Web Component, Include Page.

Why would you want to put a logo in CSS? Generally you'd use CSS to add
styles to your page.


"Mark" <(E-Mail Removed)> wrote in message
news:O%(E-Mail Removed)...
> Would like to apply a certain picture on each web page. What is the best
> method? If I wanted to create a .css for the web page logo how would I go
> about doing that? Is this the best method in fp 2k3?
>
> thanks
>



 
Reply With Quote
 
=?Utf-8?B?cmVkZW1wdGlvbjI=?=
Guest
Posts: n/a
 
      15th Nov 2006
I'm not quite sure what you're trying to ask here. You want one picture on
every webpage you have, and you're wondering how to do it? Normally I'd just
say "Open every page and paste in the picture in Design view" but that
doesn't seem to be the case here. If all the pages look the same, then a
templating script might do you well, and if you put the picture into the
template and then update all the pages that read the template, it should
write the picture onto it. Is that what you're looking for?

"Mark" wrote:

> Would like to apply a certain picture on each web page. What is the best
> method? If I wanted to create a .css for the web page logo how would I go
> about doing that? Is this the best method in fp 2k3?
>
> thanks
>
>
>

 
Reply With Quote
 
Gordon
Guest
Posts: n/a
 
      15th Nov 2006
The question was: Why would you want to put a logo in CSS? Generally you'd use CSS to add styles to your page.


Agreed, generally CSS is used to apply styles to page content. However, controlling background images, and other repetitive images and such, is a good use of CSS. In the event
you wish to change your entire site's bg image or your logo happens to change, it can done in one common place.

(some code changed to protect the innocent)

see examples below:

body {
background:#fff url(../images/bg4.jpg) repeat-x;
text-align:center;
}

h1#dept a span {
position: absolute;
top: 0;
left: 0;
display: block;
background: url(../images/unitlogo.gif);
width: 100%;
height: 100%;
cursor: hand;
}

h2#uf a span{
background-image: url(../images/maincompanylogo.gif);
top:0;
left:0;
display:block;
position: absolute;
width: 181px;
height: 40px;
font-size: 1px;
cursor: pointer;
}

/*\*/#footerHome span {
background:url(http://images/Signature-Themeline.gif) 0 0 no-repeat;
height:62px;
position:absolute;
right:0;
top:10px;
width:198px;
}/**/

Jim

On Wed, 15 Nov 2006 10:04:59 -0500, "David Berry" <(E-Mail Removed)> wrote:

>Put the picture on it's own page and then include that page on all the
>others using Insert, Web Component, Include Page.
>
>Why would you want to put a logo in CSS? Generally you'd use CSS to add
>styles to your page.
>
>
>"Mark" <(E-Mail Removed)> wrote in message
>news:O%(E-Mail Removed)...
>> Would like to apply a certain picture on each web page. What is the best
>> method? If I wanted to create a .css for the web page logo how would I go
>> about doing that? Is this the best method in fp 2k3?
>>
>> thanks
>>

>

 
Reply With Quote
 
Mark
Guest
Posts: n/a
 
      15th Nov 2006
The web component way is what I am used to. I just wanted to know if there
were any better ways. Thanks for your help

"David Berry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Put the picture on it's own page and then include that page on all the
> others using Insert, Web Component, Include Page.
>
> Why would you want to put a logo in CSS? Generally you'd use CSS to add
> styles to your page.
>
>
> "Mark" <(E-Mail Removed)> wrote in message
> news:O%(E-Mail Removed)...
>> Would like to apply a certain picture on each web page. What is the best
>> method? If I wanted to create a .css for the web page logo how would I
>> go about doing that? Is this the best method in fp 2k3?
>>
>> thanks
>>

>
>



 
Reply With Quote
 
Mark
Guest
Posts: n/a
 
      15th Nov 2006
okay so if I wanted blue for example as the page background on all web pages
I would create a name for it in styles sheets and then place which code
there?


"Gordon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The question was: Why would you want to put a logo in CSS? Generally
> you'd use CSS to add styles to your page.
>
>
> Agreed, generally CSS is used to apply styles to page content. However,
> controlling background images, and other repetitive images and such, is a
> good use of CSS. In the event
> you wish to change your entire site's bg image or your logo happens to
> change, it can done in one common place.
>
> (some code changed to protect the innocent)
>
> see examples below:
>
> body {
> background:#fff url(../images/bg4.jpg) repeat-x;
> text-align:center;
> }
>
> h1#dept a span {
> position: absolute;
> top: 0;
> left: 0;
> display: block;
> background: url(../images/unitlogo.gif);
> width: 100%;
> height: 100%;
> cursor: hand;
> }
>
> h2#uf a span{
> background-image: url(../images/maincompanylogo.gif);
> top:0;
> left:0;
> display:block;
> position: absolute;
> width: 181px;
> height: 40px;
> font-size: 1px;
> cursor: pointer;
> }
>
> /*\*/#footerHome span {
> background:url(http://images/Signature-Themeline.gif) 0 0 no-repeat;
> height:62px;
> position:absolute;
> right:0;
> top:10px;
> width:198px;
> }/**/
>
> Jim
>
> On Wed, 15 Nov 2006 10:04:59 -0500, "David Berry" <(E-Mail Removed)> wrote:
>
>>Put the picture on it's own page and then include that page on all the
>>others using Insert, Web Component, Include Page.
>>
>>Why would you want to put a logo in CSS? Generally you'd use CSS to add
>>styles to your page.
>>
>>
>>"Mark" <(E-Mail Removed)> wrote in message
>>news:O%(E-Mail Removed)...
>>> Would like to apply a certain picture on each web page. What is the
>>> best
>>> method? If I wanted to create a .css for the web page logo how would I
>>> go
>>> about doing that? Is this the best method in fp 2k3?
>>>
>>> thanks
>>>

>>



 
Reply With Quote
 
Gordon
Guest
Posts: n/a
 
      15th Nov 2006
If you assign a style to the body tag in your style sheet all pages would follow this style and each page would have a navy blue background color unless covered by another style
element (see below). You can play around with different hexadecimal numbers that correspond to a color (http://www.hypersolutions.org/pages/rgbhex.html).

Of course you would need to have your style sheet linked to each page in a similar fashion which FP will do for you: <link rel="stylesheet" type="text/css" href="style/main.css">


body {
background: #000080;
}

HTH

Jim


On Wed, 15 Nov 2006 11:06:15 -0500, "Mark" <(E-Mail Removed)> wrote:

>okay so if I wanted blue for example as the page background on all web pages
>I would create a name for it in styles sheets and then place which code
>there?
>
>
>"Gordon" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> The question was: Why would you want to put a logo in CSS? Generally
>> you'd use CSS to add styles to your page.
>>
>>
>> Agreed, generally CSS is used to apply styles to page content. However,
>> controlling background images, and other repetitive images and such, is a
>> good use of CSS. In the event
>> you wish to change your entire site's bg image or your logo happens to
>> change, it can done in one common place.
>>
>> (some code changed to protect the innocent)
>>
>> see examples below:
>>
>> body {
>> background:#fff url(../images/bg4.jpg) repeat-x;
>> text-align:center;
>> }
>>
>> h1#dept a span {
>> position: absolute;
>> top: 0;
>> left: 0;
>> display: block;
>> background: url(../images/unitlogo.gif);
>> width: 100%;
>> height: 100%;
>> cursor: hand;
>> }
>>
>> h2#uf a span{
>> background-image: url(../images/maincompanylogo.gif);
>> top:0;
>> left:0;
>> display:block;
>> position: absolute;
>> width: 181px;
>> height: 40px;
>> font-size: 1px;
>> cursor: pointer;
>> }
>>
>> /*\*/#footerHome span {
>> background:url(http://images/Signature-Themeline.gif) 0 0 no-repeat;
>> height:62px;
>> position:absolute;
>> right:0;
>> top:10px;
>> width:198px;
>> }/**/
>>
>> Jim
>>
>> On Wed, 15 Nov 2006 10:04:59 -0500, "David Berry" <(E-Mail Removed)> wrote:
>>
>>>Put the picture on it's own page and then include that page on all the
>>>others using Insert, Web Component, Include Page.
>>>
>>>Why would you want to put a logo in CSS? Generally you'd use CSS to add
>>>styles to your page.
>>>
>>>
>>>"Mark" <(E-Mail Removed)> wrote in message
>>>news:O%(E-Mail Removed)...
>>>> Would like to apply a certain picture on each web page. What is the
>>>> best
>>>> method? If I wanted to create a .css for the web page logo how would I
>>>> go
>>>> about doing that? Is this the best method in fp 2k3?
>>>>
>>>> thanks
>>>>
>>>

>

 
Reply With Quote
 
e
Guest
Posts: n/a
 
      18th Nov 2006
Try doing this steps:
1.. Create a new page
2.. In that page, put the pix
3.. Save the page with the name you want
4.. Open the pages you want to have the pix
5.. Be sure your server supports ASP
6.. In the pages you want the pix write: <!-- #include file="[name of the new page]" -->
It works :-)


"redemption2" <(E-Mail Removed)> escreveu na mensagem news:7B76F124-E9CA-4EBC-9790-(E-Mail Removed)...
> I'm not quite sure what you're trying to ask here. You want one picture on
> every webpage you have, and you're wondering how to do it? Normally I'd just
> say "Open every page and paste in the picture in Design view" but that
> doesn't seem to be the case here. If all the pages look the same, then a
> templating script might do you well, and if you put the picture into the
> template and then update all the pages that read the template, it should
> write the picture onto it. Is that what you're looking for?
>
> "Mark" wrote:
>
>> Would like to apply a certain picture on each web page. What is the best
>> method? If I wanted to create a .css for the web page logo how would I go
>> about doing that? Is this the best method in fp 2k3?
>>
>> thanks
>>
>>
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Web page Picture to PowerPoint =?Utf-8?B?RGVi?= Microsoft Powerpoint 1 23rd Aug 2007 10:56 PM
Adding picture to page setup =?Utf-8?B?RGF2aWRD?= Microsoft Excel Programming 4 29th Apr 2006 02:06 AM
Adding a picture to a web page =?Utf-8?B?RGFycmVu?= Microsoft Frontpage 1 5th Dec 2004 11:50 AM
Adding a picture and text to a web page =?Utf-8?B?dHJpZmVjdGEx?= Microsoft Frontpage 3 23rd Sep 2004 04:55 PM
adding a picture to message in website...get long page =?Utf-8?B?UGVnZ2llSm9f?= Windows XP Help 0 13th Dec 2003 10:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:19 AM.