View Single Post

Old 02-03-2007, 08:39   #3 (permalink)
monaghan
Super Moderator
 
Join Date: Mar 2005
Location: Herts, UK
Posts: 1,041
iTrader: 1 / 100%
monaghan is a jewel in the rough
Default

As Craig has suggested, save a few base CSS layouts and when you save the article in the database, also save the layout style and then use your PHP code to select which of the layout stylesheets you include.

I'd suggest having a single sheet for the base layout and the article stylesheets with identical classes but in seperate files, this way the common page styles will be cached by the browser and you only have to pull back a small amount of styling data when you select a new layout.
monaghan is offline   Reply With Quote