Non-Scrolling Background in a Theme

B

Bob L

I just upgraded to FP 2003 from FP 2000 and am wondering how I can modify a
theme to add a non-scrolling background. In FP 2000 I developed a website
(www.project2105.org) and made the background non-scrolling by editing the
theme and choosing Customize Theme > Text > More Text Styles, select "body"
and then Modify > Format. I can't remember the Format option I choose but
I was then able to specified the background to be centered and
non-scrolling. I don't see how to do this in FP 2003.

I understand that I can accomplish this by editing the CSS file but I'm not
sure which CSS file I should edit and wonder why the changes I make in the
CSS file won't be overwritten when I further change the theme. Or do I
create a separate CSS file?
 
B

Bob L

Soon after I posted this I found the solution. Format > Border > Shading
and then fill in the correct Patterns. I'm still interested how this could
be done by directly by editing the CSS files. Would I create a new CSS file
or would I edit an existing one. Thanks.
 
T

Trevor L.

It doesn't matter whether you create a new one or modify the existing one.

These are *cascading* style sheets, so the styles are applied in order. If
two or more styles refer to the same element, the later one overrides the
earlier one.
 
J

Jason Lu [MSFT]

Hi Bob,

You may check this article for doing this using CSS.

318167 HOW TO: Create a Fixed, Centered Watermark Using Cascading Style Sheets
http://support.microsoft.com/?id=318167

Basically, it involves the "background-attachment" property in CSS.

Property Values Supported Browsers
-------------------------------------------------------------------------------------------
background-attachment scroll, fixed IE4

I hope the information helps.

Regards,
Jason Lu
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Stefan B Rusynko

That won't work since the user has a theme
(FP themes override linked or embedded css since they are applied last in sequence - cascade over the prior css)

The way to add watermark to the theme is to edit the theme related CSS w/i the theme

Format | Theme | Modify/Customize | Text - select More Text Styles
Select the body tag and then Modify | Border | Shading and select
Repeat - select no-repeat
Attachment - select fixed
Vertical Position - select center
Horizontal Position - select center
OK|OK|OK|OK & Save As a new theme name

--




| Hi Bob,
|
| You may check this article for doing this using CSS.
|
| 318167 HOW TO: Create a Fixed, Centered Watermark Using Cascading Style Sheets
| http://support.microsoft.com/?id=318167
|
| Basically, it involves the "background-attachment" property in CSS.
|
| Property Values Supported Browsers
| -------------------------------------------------------------------------------------------
| background-attachment scroll, fixed IE4
|
| I hope the information helps.
|
| Regards,
| Jason Lu
| Microsoft Online Partner Support
|
| When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
| This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
 
B

Bob L

If I'm using an FP Theme and I edit the css file that is created by FP,
won't it get overwritten by FP when I change something else? For instance,
if I edit the FP-generated css file to create a non-scrolling background and
then save the file, won't it get overwritten if I then modify the Theme
within FP and wipe out the previous change?
 
S

Stefan B Rusynko

Yes it will get over written by the theme .elm file
Do not edit the css directly - edit the theme (see my other post below)
If you need to edit theme CSS files outside of FP see
http://sbrenjoy.bizland.com/frontpage/themes/newthemes.html#Granular
--




| If I'm using an FP Theme and I edit the css file that is created by FP,
| won't it get overwritten by FP when I change something else? For instance,
| if I edit the FP-generated css file to create a non-scrolling background and
| then save the file, won't it get overwritten if I then modify the Theme
| within FP and wipe out the previous change?
|
| | > It doesn't matter whether you create a new one or modify the existing one.
| >
| > These are *cascading* style sheets, so the styles are applied in order. If
| > two or more styles refer to the same element, the later one overrides the
| > earlier one.
| > --
| > Cheers,
| > Trevor L., WIP (Web Interested Person)
| > Website: http://tandcl.homemail.com.au
| >
| > Bob L wrote:
| >> Soon after I posted this I found the solution. Format > Border >
| >> Shading and then fill in the correct Patterns. I'm still interested
| >> how this could be done by directly by editing the CSS files. Would I
| >> create a new CSS file or would I edit an existing one. Thanks.
| >>
| >>
| >> | >>> I just upgraded to FP 2003 from FP 2000 and am wondering how I can
| >>> modify a theme to add a non-scrolling background. In FP 2000 I
| >>> developed a website (www.project2105.org) and made the background
| >>> non-scrolling by editing the theme and choosing Customize Theme >
| >>> Text > More Text Styles, select "body" and then Modify > Format. I
| >>> can't remember the Format option I choose but I was then able to
| >>> specified the background to be centered and non-scrolling. I don't
| >>> see how to do this in FP 2003. I understand that I can accomplish this
| >>> by editing the CSS file but
| >>> I'm not sure which CSS file I should edit and wonder why the changes
| >>> I make in the CSS file won't be overwritten when I further change
| >>> the theme. Or do I create a separate CSS file?
| >
| >
|
|
 

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