How to link a style.css file

Asked by noskule

I would like to link a css file

    <?xml-stylesheet href="style.css" type="text/css"?>

but the link get's lost if I save the svg with inkscape.

Is threre a way around this?

Thanks for any hints
nos

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

Inkscape doesn't yet support external stylesheets, only a single inline style sheet is read (<style> element).

See
- Bug #167936 “CSS support”: <https://bugs.launchpad.net/inkscape/+bug/167936>
- CSS Support - Inkscape Wiki: <http://wiki.inkscape.org/wiki/index.php/CSS_Support>
for more information about the current status of CSS support in Inkscape.

Bug #419266 “class attribute not saved in plain svg” <https://bugs.launchpad.net/inkscape/+bug/419266> might be important when working with an internal CSS stylesheet.

Can you help with this problem?

Provide an answer of your own, or ask noskule for more information if necessary.

To post a message you must log in.