Inkscape with External CSS problem

Post questions on how to use or achieve an effect in Inkscape.
User avatar
kstingel
Posts: 62
Joined: Fri Feb 12, 2016 3:27 pm

Inkscape with External CSS problem

Postby kstingel » Thu Feb 25, 2016 5:04 pm

Not sure if it's something I did wrong or a munged setting somewhere, but Inkscape doesn't seem to be able to read my external CSS

While I was working on the file, I had the CSS stored in my workspace/css folder
the image I was working on was stored in workspace/imgs (mirroring the site folder setup)
as a test, I copied the CSS file into the imgs folder and modified the calling path, but my objects still show black

Inkscape Display:
Image

Browser Display:
Image

Src File:
http://kstingel.com/svg/imgs/drawing864.svg
External CSS File:
http://kstingel.com/svg/css/elvenar_maps.css

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Inkscape with External CSS problem

Postby hulf2012 » Fri Feb 26, 2016 1:13 am

Hello,

I think it's a normal behaviour. It seems to me that external CSS it's not implemented yet by Inkscape.
You can make a request to be supported (if it's not already requested)

https://inkscape.org/en/

I think here you can:
https://blueprints.launchpad.net/inkscape

I'm even surprised that You can use an extern CSS in a different place than the image! on a web browser!!, because I've found that each web browser support CSS properties in different ways.

I don't know if you already seen this tutorial:
http://www.hongkiat.com/blog/scalable-v ... s-styling/
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Inkscape with External CSS problem

Postby Moini » Fri Feb 26, 2016 8:03 am

You can subscribe yourself to this bug and click on the 'Affects me, too' button at the top left:
https://bugs.launchpad.net/inkscape/+bug/167936
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
kstingel
Posts: 62
Joined: Fri Feb 12, 2016 3:27 pm

Re: Inkscape with External CSS problem

Postby kstingel » Sun Feb 28, 2016 7:28 pm

@Moini:
I Subscribed to the Bug you mentioned, and also created a new Blueprint ...
https://blueprints.launchpad.net/inkscape/+spec/external-css as my Blueprint search didn't find any existing job


Return to “Help with using Inkscape”