01-04-2010, 03:19 PM
Here in this small tutorial i will show you how u can add many CSS files in just one code.
For an example if you have 5 CSS files to attach with page which means u have to write this code :-
now u have no need to write that code 5 times in header for indicating file .css files. You can make one more .css file with anyname Suppose :- newfile.css u want and use this code in that newfile.css
and now use this code only inside <head> </head>
you all .CSS files will be redirected through only one .CSS file.
Thats it
Regards
For an example if you have 5 CSS files to attach with page which means u have to write this code :-
Code:
<link rel="stylesheet" type="text/css" href="somefile.css" />now u have no need to write that code 5 times in header for indicating file .css files. You can make one more .css file with anyname Suppose :- newfile.css u want and use this code in that newfile.css
Code:
@import "file1.css";
@import "file2.css";
@import "file3.css";
@import "file4.css";
@import "file5.css";and now use this code only inside <head> </head>
Code:
<link rel="stylesheet" type="text/css" href="newfile.css" />you all .CSS files will be redirected through only one .CSS file.
Thats it
Regards