Jump to content

@Statements


RRRaney

Recommended Posts

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

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...