You are here: Technology, Web & Business Forum
: Web Development
: Design
:
How to determine which CSS stylesheet to use at runtime ?
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Design Talk about web design techniques and ideas in CSS, HTML, etc.
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
I'm building a website that can be used by different companies. I want to use CSS so that when a user from Company_123 logs in, then they see a website in the style of Company_123's corporate colours. However if a user from Company_ABC logs in, then they see a website in the style of Company_ABC's corporate colours.
The site will potentially be used by dozens of different companies so if possible I'd rather avoid having to implement a sort of multiple "if company = 123 use this CSS, if company = ABC use this CSS, etc, etc" at the top of every single web page I produce. Whats the best way to implement this ? Thanks in advance........Gav.
__________________
Powered by Yahoo! Answers |



Linear Mode
