Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8144043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:16:00+00:00 2026-06-06T13:16:00+00:00

I am using some interactive/dynamic SVG on my site and as a feature we

  • 0

I am using some interactive/dynamic SVG on my site and as a feature we have an option to download the .svg file as-is.

One problem we discovered is that when external stylesheets are used, the styles get lost if the user, say, tries to open the file in Inkscape. So I have been styling fill and stroke colors, etc., inline on the elements.

I am wondering about the SVG standard and how stylesheets fit into it. Are .css files designed to be transported with the .svg file? I understand you can declare external stylesheets like so:

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

Will most vector graphics software recognize and load this if they are in the same folder? It seems Illustrator doesn’t have initial support for SVG but has add-ons that include JavaScript and CSS3 engines.

I can’t help but feel like everyone has missed the SVG boat. Has anyone had success doing something like, packaging the .svg with a .css for download and trying this out in various vector graphics programs? What do programs like Inkscape typically do when they save SVG, as there are obviously several ways to assign styles?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:16:01+00:00Added an answer on June 6, 2026 at 1:16 pm

    I found a few documents from W3C about SVG viewer conformance that clear some of this up:

    SVG Viewer Conformance

    Styling with CSS

    Styling Alternatives

    Common Facilities Used by SVG and CSS

    I saw this line,

    Conforming SVG Interpreters and Conforming SVG Viewers that support
    CSS styling of generic (i.e., text-based) XML content are required to
    also support CSS styling of SVG content.

    which makes me believe that only SVG viewers that support CSS (as opposed to presentation attributes) are required to support external stylesheets – so basically just browsers.

    I would still like to have a list of SVG software packages and whether each supports external stylesheets as well as how they assign styles, but maybe I will have to do this research for myself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some trouble using SML/NJ interactive system, namely, that when I try to
I'm using the pixmap library here. For instance, I have some grid.pnm file I
I am using three.js to do some online interactive modelling of geology, and have
The situation is this: I have some JavaScript that creates an interactive dialogue (and
Ok getting frustrated on this one.... Using knockoutJS to do some visual interaction stuff.
I have been using some Javascript to create a text field once an certain
I'm using some CSS properties that does not support in CSS 2.1. For example,
I remember using some attribute on the getter/setter that would limit the input to
I'm doing some research with an interactive shell and using a Django app (shell_plus)
I'm observing some strange behavior when using the F# interactive interpreter. Running the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.