Hi all,
Random noob question. Is there a reason why there's a CSS file for every HTML file? Is there some efficiency gained? I ask because for me, it makes theming a bit harder by in a way, duplicating styles (different IDs or class names, but essentially the same style applied). Would it be a problem to combine these when creating themes or is it best to keep them separate?
Thanks!
// Andres. _______________________________________________ List info: http://lists.roundcube.net/dev/
Hi Andres,
I don't know the answer for your question, but maybe an "@import" rule would help you to import your style overrides in CSS files, like this: @import url "my_override.css";
Of course you need to put this rule in every CSS where you need your own styles, but I think this is less harder than keep every modification in sync in each file.
More info: http://webdesign.about.com/cs/css/qt/tipcssatimport.htm
Best regards, Gabor
On Sun, 20 Sep 2009 21:17:47 -0700, Andres Sulleiro Andres.Sulleiro@razorfish.com wrote:
Hi all,
Random noob question. Is there a reason why there's a CSS file for every HTML file? Is there some efficiency gained? I ask because for me, it
makes
theming a bit harder by in a way, duplicating styles (different IDs or class names, but essentially the same style applied). Would it be a
problem
to combine these when creating themes or is it best to keep them
separate?
Thanks!
// Andres. _______________________________________________ List info: http://lists.roundcube.net/dev/
List info: http://lists.roundcube.net/dev/