SiteLite Documentation


Styles


Content, Structure and Layout

[ The content ] [ Sitestructure ] [ Layout ]

SiteLite is written with a clear ambition to separate three concepts:

The content

This means text, images, applets and whatever you want to place on a page. This content should be placed in blocks which are html-pages or simple txt-pages. The content blocks may be prepared with html-editors or simple text editors. SiteLite picks these blocks up and puts them in place in the template that is specified for the actual page.

To be prepared for changes to come, in SiteLite as well as in other tools and browsers, it is a good idea to use the structuring possibilities in html in stead of using html for detailed layout. SiteLite does not really care what content it handles, but the flexibility in giving your pages a nice layout increases as stylesheets get more stable and browsers acknowledge the finer details of style.

Sitestructure

By this I mean the sequence of the pages, the arrangement of pages in a hierarchical structure, three different table of contents, use of frames or not. SiteLite handles this arrangement of building blocks independent of both page content and page style. The script file controls this completely.

Layout

By this I mean what the pages actually looks like. The ultimate goal is to control this almost completely by means of cascading stylesheets. At the moment the browsers interpretation of stylesheets are not consistent and the present version of SiteLite is a compromise where only the safest elements of stylesheets are used. I am sorry to say that tables and padding with transparent pixels still plays a part. It is my intention and hope to make new versions of SiteLite that relies on stylesheets. Hopefully it will be possible to make this versions backwards compatible since only the template files and the stylesheet ideally should be influenced by this.