Re: OT: I love CSS :-)
Yeah, what I have done in the past is use @import statements to import CSS files based upon need. What I generally do is have a "fonts" CSS file, a "structure" CSS file, a "media" CSS file, and a "color scheme" CSS file. This allows for multiple color schemes, 2 or 3 column layout for a given page, print, screen, or handheld, and different font faces/sizes -- definitely a must, especially if you're co-branding a web site). The downside to the multiple CSS file apprach is that it can be a real bear to administer -- adding or deleting a selector in one file means that you should do the same to the remaining files. I got to the point where I had to write a databased CSS administration app in CF that published CSS files to the server. Pete On 8/24/05, Damien McKenna <[EMAIL PROTECTED]> wrote: > My comment isn't to say that I've only just discovered it, I've been > using it for years though have only gotten into css-p in the past two > years. I just had a few lightbulb moments this morning while working on > a design and just wanted to share the meme :) > > As for multiple color schemes, I'm hitting that myself. What I'm going > to do is have a master CSS file that sets defaults and then load > optional styles that only have definitions for colors to update the > earlier settings. Should work fine. > > -- > Damien McKenna - Web Developer - [EMAIL PROTECTED] > The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 > #include > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216205 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: I love CSS :-)
Use CF to generate your CSS. - Original Message - From: "Pete Ruckelshaus" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Wednesday, August 24, 2005 10:47 AM Subject: Re: OT: I love CSS :-) > Welcome to 1997? > > Css does indeed rule, and I use it exclusively for presentation layer > chrome. Makes it really easy to "repurpose" code for use on other > sites, I have a core set of .class and #id definitions that are part > of every site/corresponding CSS file that I write. I just wish that > CSS files included some level of logic and variable setting > capability, my color schemes tend to have 3-6 core colors and it would > be much nicer to be able to set each color once as a variable and then > call it whenever needed. Sure, I can do that with CF but I prefer > straight CSS files because they get cached by the client. > > Pete > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: I love CSS :-)
My comment isn't to say that I've only just discovered it, I've been using it for years though have only gotten into css-p in the past two years. I just had a few lightbulb moments this morning while working on a design and just wanted to share the meme :) As for multiple color schemes, I'm hitting that myself. What I'm going to do is have a master CSS file that sets defaults and then load optional styles that only have definitions for colors to update the earlier settings. Should work fine. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216196 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: I love CSS :-)
Welcome to 1997? Css does indeed rule, and I use it exclusively for presentation layer chrome. Makes it really easy to "repurpose" code for use on other sites, I have a core set of .class and #id definitions that are part of every site/corresponding CSS file that I write. I just wish that CSS files included some level of logic and variable setting capability, my color schemes tend to have 3-6 core colors and it would be much nicer to be able to set each color once as a variable and then call it whenever needed. Sure, I can do that with CF but I prefer straight CSS files because they get cached by the client. Pete ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216195 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
OT: I love CSS :-)
I must say that I simply love CSS. Being able to pixel-perfectly position things, adjust font styles, etc, its all marvelous! -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216187 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54