简体   繁体   中英

import CSS in sharepoint 2010

seen like this is the easy way, but I am facing some issue, I separated style sheet according to the section like

layout.css 
typo.css
element.css

and sooo on

and then from the masterpage section I added the 1 stylesheet named 'style' and call all the style sheet into it using the "@import url('typo.css')"

the problem is this @import is not working... any solution how to call all other .css in 1 stylesheet?

It will depend on where the style sheets are located on filesystem or style library. @import directive will not work for a style library.

I will suggest you skip the import directive and add the three style declarations in your master page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM