bugzy Posted July 30, 2012 Share Posted July 30, 2012 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 https://forums.phpfreaks.com/topic/266472-is-it-ok-to-embed-multiple-css/ Share on other sites More sharing options...
Mahngiel Posted July 30, 2012 Share Posted July 30, 2012 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 https://forums.phpfreaks.com/topic/266472-is-it-ok-to-embed-multiple-css/#findComment-1365562 Share on other sites More sharing options...
bugzy Posted July 31, 2012 Author Share Posted July 31, 2012 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 Link to comment https://forums.phpfreaks.com/topic/266472-is-it-ok-to-embed-multiple-css/#findComment-1365569 Share on other sites More sharing options...
Christian F. Posted July 31, 2012 Share Posted July 31, 2012 If you only want to organize your CSS, then I recommend using comments instead. That's what they're meant for, after all. Link to comment https://forums.phpfreaks.com/topic/266472-is-it-ok-to-embed-multiple-css/#findComment-1365572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.