09-06-2012, 02:37 AM | #1 |
Registered User
Join Date: Jul 2012
Posts: 111
|
Using the CSS @import Rule
you might want to consider splitting your style sheet up into several smaller CSS files. That’s when the @import rule can come in quite handy.
The @import rule is another way of loading a CSS file. You can use it in two ways. The simplest is within the header of your document, like so: <style> @import url('/css/styles.css'); </style>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Last edited by davikerkrish; 09-06-2012 at 02:39 AM.. |
09-14-2012, 02:47 AM | #2 |
Registered User
Join Date: Aug 2012
Location: Kanpur
Posts: 40
|
Ya!I have no doubt on this sweet feedback.Keep writing continue.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. l To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. l To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. l To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
11-11-2012, 12:17 PM | #3 |
Registered User
Join Date: Nov 2012
Posts: 12
|
do not use @import rule, for optimum performance use
Code:
<link rel='stylesheet' href='a.css'>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
12-28-2014, 01:23 PM | #4 |
Registered User
Join Date: Dec 2014
Location: Belgium
Posts: 131
|
good post thanks
__________________
Need some help on how to make your pc faster? Got some trouble with a slow pc? We can help you with making your pc faster. Visit To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
12-30-2014, 04:29 AM | #5 |
Registered User
Join Date: Jul 2014
Location: Athens, Greece
Posts: 462
|
What's the REALLY difference between these 2 methods???
a)<link rel='stylesheet' href='a.css'> b)<style> @import url('/css/styles.css'); </style>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the rule of hiring a seo consultant? | eigeehte | Search Engine Optimization | 1 | 12-23-2011 05:04 AM |