Jump to content

Is it ok to embed multiple css?


bugzy

Recommended Posts

Like this.

 

<link rel="stylesheet" type="text/css" href="public1.css" media="screen" />
<link rel="stylesheet" type="text/css" href="public2.css" media="screen" />

 

I want to organize my css codes for words, boxes and etc. I just want to ask if this is ok?

 

Newbie question guys.

Link to comment
Share on other sites

sure, nothing :inherently: wrong with that.

 

there will be additional http requests to consider as well as the order of the cascading rules for imported stylesheets. it's okay to do it in development, but you should really combine them (and minify) for production sites

Link to comment
Share on other sites

sure, nothing :inherently: wrong with that.

 

there will be additional http requests to consider as well as the order of the cascading rules for imported stylesheets. it's okay to do it in development, but you should really combine them (and minify) for production sites

 

Thanks again Mahngiel  8)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.