Steve Hooker's Radio: kids, war, blogs, gadgets: A Welsh man in the wrong country, going home
![]()
|
Independent web developer. Graphic designer, web designer, Frontier developer, Manila hoster, latest project: intranet build for Government Office of West Midlands (UK), committed blogger since 1999.
See more details on services and more personal background who and where. |
Style Sheets in HTML documents
Easy bits and hard bits... I've been trying to add more combinations of stylesheets to my templates. Right now, I can move the menus to the, left, right or make them disappear.
But, I want to add text sizes. However, I can't, well, not the way I want. I can swap individual stylesheets, or even groups of stylesheets, or make one style sheet out of several.
I want to be able to select say the 'left' sheet, then the bigger fonts sheet. And for that to be persistent in cookies. I can, with the method of loading the @Import but this would require a new page load.
I thought I could write two cookies, one for the menus, one for the text. I'm not sure if that would work (if I spend hours on it) as it seems that the selection of link sheets is a either this or that, not some of these, one of those and an other of this. You cannot pick and mix, only pick.
Mark Wilton-Jones has a solution to select two sheets, but the rest are switched off. So, I'd have to have a user select, 'left, big' or 'left, small' and 'right, big' or 'right, small' and so on. But, when I want to throw in 'red' and 'orange,' I'm going to get into dumbass stuff.
How can I pick and mix from hundreds of tiny little stylesheets? I'll have to sleep on it.
1127 Also posted to: cyberSaps
Permalink Top Search Google Technorati
Other title(s) for this story:

