Please type the link URL
How to @import in Cascading Style Sheets? Print E-mail
Written by Administrator   
Tuesday, 23 March 2010 15:20

The @import rule allows you to include external style-sheets in your (defult) template.css file. Both versions of the editor support this rule.

  1. Set the editor to look at your (defult) template.css file or equivalent defult css file.
  2. At the top of the template.css file (or equivalent css file) use the css important rule to include external style-sheets. It should look something like this:
Code:
@import url(doclink.css);

 

Example:-

/*------------------------------------------------------------------------
# Template.css 1.0 - Mar, 2010
# ------------------------------------------------------------------------
# Copyright (C) 2005-2010 WebxSolution Ltd. All Rights Reserved.
# @license - GPL
# Author: Paul Franklin
# Websites:  http://www.webxsolution.com
# ------------------------------------------------------------------------

@import url(doclink.css);
@import url(layouts.css);
@import url(components.css);
@import url(modules.css);
@import url(navigation.css);
@import url(misc.css);
@import url(forms.css);

/* #######################  GENERAL SETTINGS ############################ */
html.body{
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 12px;
	color: #666;
	margin-top: 0px;
	background-color: #CCCCFF;
}

body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 12px;
	color: #666;
	margin-top: 0px;
	background-color: #FFFFFF;
}

/*  Global Formatting */
h1 {font-size:16px;line-height: 1em;font-weight: 900;}
h2 {font-size:15px;line-height: 1em;font-weight: 900;}
h3 {font-size:14px;line-height: 1em;font-weight: 900;}
h4 {font-size:13px;line-height: 1em;font-weight: 900;}
h5 {font-size:12px;line-height: 1em;font-weight: 900;}
h6 {font-size:11px;line-height: 1em;font-weight: 900;}
td{font-size: 12px;}
th{font-size: 12px;}
a:link {color: #CC6600;}
a:hover {color: #659FDE;}
a:visited {color: #CC6600;}
img {border: 0 none;}

/* Clears Divs */
.clr{clear: both;}

/* #######################  END GENERAL SETTINGS ############################ */
Last Updated on Monday, 29 March 2010 00:22