@Statements in CSS Posted March 27, 2014 Hello, I have read that the @charset and the @import statements must be the first thing in a StyleSheet if they are being used. I have been using this with IE8 and Firefox 27.0, it seems to work fine. @charset "UTF-8";/****************************************************************************************** Name: Default.css* Version: 1.0.0****************************************************************************************** Description: *****************************************************************************************/@import url("../.Library/.Style/Base-1.0.0.css");@import url("../.Library/.Style/Extension-1.0.0.css");@import url("../.Library/.Style/Bulletin-1.0.0.css");/****************************************************************************************/body{ overflow-y: scroll; background-color: #FFF; background-image: url("../Image/Background-body.png"); background-repeat: repeat-X;}.....bla bla bla I like using this because it will completely load the first import before the rest (from what I can gather). I also like to have a heading at the top of my files. Will this fail on other browsers or versions? Thanks, Raney
@Statements
in CSS
Posted
Hello,
I have read that the @charset and the @import statements must be the
first thing in a StyleSheet if they are being used.
I have been using this with IE8 and Firefox 27.0, it seems to work fine.
@charset "UTF-8";/****************************************************************************************** Name: Default.css* Version: 1.0.0****************************************************************************************** Description: *****************************************************************************************/@import url("../.Library/.Style/Base-1.0.0.css");@import url("../.Library/.Style/Extension-1.0.0.css");@import url("../.Library/.Style/Bulletin-1.0.0.css");/****************************************************************************************/body{ overflow-y: scroll; background-color: #FFF; background-image: url("../Image/Background-body.png"); background-repeat: repeat-X;}.....bla bla bla
I like using this because it will completely load the first import
before the rest (from what I can gather).
I also like to have a heading at the top of my files.
Will this fail on other browsers or versions?
Thanks,
Raney