Wednesday, July 1, 2015

imported is an easy way to insert the file?



Imported style sheet allows you to import the files which are external or combine one style sheet with another. There can be created many files, different style sheets to have different functions. Import function gives the provision to combine many elements or functionality into one. The syntax to import any file is @import notation, which is used inside the <Style> tag. There is a one rule that implies that the last imported sheet will override the previous ones. The syntax is shown by coding as:

<Link Rel=Stylesheet Href="Main.Css" Type="Text/Css">
<STYLETYPE="text=css">
<!--
@import url(http://www.careerride.css);
@import url(http://www.carrerride.main.css);
.... your code
-->
</STYLE>

The <!-- --> is used as a comment for those browsers that doesn’t support css.

No comments:

Post a Comment