Jump to content
RRRaney

@Statements

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

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...