Results 1 to 4 of 4

Thread: Text styles whose scope is a particular master border?

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    6

    Question Text styles whose scope is a particular master border?

    When I define a text style, there seem to be only two scopes available: page-specific and site-wide. I would like to define a style (or rather, redefine the normal style) whose scope is all the pages with a specific master border, but not any other pages. Is this possible? I'm guessing that because the generated web site itself has no concept of master borders (they're a purely NOF feature), it isn't.

    The background of this is as follows: I have two very different kinds of pages on my site, one for browsing and one for printer-friendly text (articles). I have a master border named Printer-Friendly, and I would like all the body text on it to appear in Times New Roman. However, on all the other pages, which have a different master border, I want the body text to appear in Arial.

    [No lectures about appropriate font faces, please; this is about style scope!]

    Anybody know a good way to do this WITHOUT defining a custom style and applying it by hand on each page?

  2. #2
    Senior Member Adendum's Avatar
    Join Date
    Apr 2010
    Location
    London (UK) & Granada (Spain)
    Posts
    926

    Default

    Hi,

    Just create a .css file called PF.CSS and link to that within the Printer-Friendly master border.
    Paul - Aditerum Ltd and AllSortsOfStuff Ltd
    NOF11 (in Admin mode!); Vista Premium 64bit; AMD Phenom IIx4 945 Processor 3.00Ghz; 8.0Gb RAM
    Wouldn't it be great if there was only a single browser to worry about!!!

  3. #3
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Quote Originally Posted by EWAdams View Post
    When I define a text style, there seem to be only two scopes available: page-specific and site-wide. I would like to define a style (or rather, redefine the normal style) whose scope is all the pages with a specific master border, but not any other pages. Is this possible? I'm guessing that because the generated web site itself has no concept of master borders (they're a purely NOF feature), it isn't.

    The background of this is as follows: I have two very different kinds of pages on my site, one for browsing and one for printer-friendly text (articles). I have a master border named Printer-Friendly, and I would like all the body text on it to appear in Times New Roman. However, on all the other pages, which have a different master border, I want the body text to appear in Arial.

    [No lectures about appropriate font faces, please; this is about style scope!]

    Anybody know a good way to do this WITHOUT defining a custom style and applying it by hand on each page?
    Masterborders are "areas" of a page not a "thing" so there is no way to address them outside of page view.

    If you apply a style or class to something inside of a masterborder it "should" be applied to every page that shares that masterborder.

    You "should" be able to define a print only css style for your font.

    take a look at this topic http://forums.netobjects.com/showthread.php?6927
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  4. #4
    Junior Member
    Join Date
    May 2010
    Posts
    6

    Default

    Thank you -- that seems to have done the trick. I didn't know about linking in CSS files, but I'm very pleased with the results.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •