Re: [css-d] order of styles in .css document?

2012-07-02 Thread Paceaux
I have found that there are occasions where order can help if you're fighting FOUC (flash of unstyled content). Order never eliminates FOUC, but elements closer to the document root at the top of the stylesheet seem to make things less FOUCy. Like Tom said, the order only can really matter in

Re: [css-d] order of styles in .css document?

2012-07-02 Thread Tom Livingston
Yes and no. Keep in mind the cascade is in effect within the sheet so styles early in the sheet can potentially be over written later. HTH Sent from iOS 5 On Jul 2, 2012, at 5:08 PM, John wrote: > I have a feeling the answer is "no," but want to make sure: does it matter > what order styles

[css-d] order of styles in .css document?

2012-07-02 Thread John
I have a feeling the answer is "no," but want to make sure: does it matter what order styles are in within a .css document? so, for example, does it matter if your container style is at the end and your footer is at the top, long as the markup is styled with the correct styles? Thank you! John