logo

New Article Posted

Despite making recent article links red I still like to tell you about new articles myself. If only to talk about what the article is and why you might want to read it.

The latest article talks about using documents to store CSS and refine the look of a site without having to make any design changes. You can see the demo database in action to see what I mean. Look in the source. There are two CSS "files" attached. One is a Domino 6 CSS Resource and the other is a View. The view holds "Style Documents" that can redefine the CSS in the resource file. Use the links at the bottom of the navigation panel to toggle each of the resources on and off.

The concept is simple. The CSS Resource file is the default "vanilla" set of styles and is fixed. The Style Documents are flexible and allow the user as much control as they need. Because the Style Documents are loaded by the browser after the default styles, they take precedence. How many documents you need to add depends on how many changes you want to make. Helps with fussy end users when you don't want to have to make design changes more than you really have to.

Comments

    • avatar
    • Ian B
    • Tue 12 Aug 2003 08:27

    Damn You Jake! I started to do this a couple of weeks ago. Well, I suppose I can just half inch yours now. One thing I saw being useful is assigning a category for media type (print/screen etc). Also, as it is a view you could have a category for stylesheet1 stylesheet2 etc. and just append ?restricttocategory= to the stylesheetlink. Can keep a selection of stylesheets all in one repository then.

    • avatar
    • Jake
    • Tue 12 Aug 2003 09:00

    Nice idea "Mr Beale". Maybe you should expect a version 2 some time soon ;o)

    There's probably quite a few more addition it could benefit from. For now, it's the principle that counts.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Mon 8 Dec 2003

Share This Page

# ( ) '

Comments

The most recent comments added:

  • avatar Jake about 16 years ago
  • avatar Ian B about 16 years ago

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content