[thelist] Styling separated from layout and from content

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Thu Jun 7 12:23:04 CDT 2001


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

As we've been talking about this in 2 different
threads, it might be instructive to take a read of
Adrian's writeup on the evolt HTML:

http://evolt.org/article/thelist/20/5816/index.html

Each page's content is merged into a template
(using ColdFusion) and the look is controlled by
CSS. There's pretty good separation - so it's a
piece of cake to:
1) Change the layout (hit the site with a PDA)
    by stuffing a different template
2) Change the style (have a look at the screenshots
   in the 'Down the Road' section of that article) by
   linking in a separate stylesheet.

And each of those can be done at runtime.

To see how it's done, view the source of the page,
and also take a look at the stylesheet:
http://evolt.org/evolt/isaac.css



Cheers
Martin

--------------------- End of message text --------------------

The principal place of business of PricewaterhouseCoopers and its associate
partnerships is 1 Embankment Place, London WC2N 6NN where lists of the
partners' names are available for inspection. All partners in the associate
partnerships are authorised to conduct business as agents of, and all
contracts for services to clients are with, PricewaterhouseCoopers. The UK
firm of PricewaterhouseCoopers is authorised by the Institute of Chartered
Accountants in England and Wales to carry on investment business.
PricewaterhouseCoopers is a member of the world-wide
PricewaterhouseCoopers organisation.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received this in error, please contact the sender and delete the material from any
computer.





More information about the thelist mailing list