Problems with exporting gradients in svg // illustrator keeps adding strange classes

I'm currently working on some icons for our new agency website... When try to export  files with gradients, which assigned to nicely named graphic styles, illustrator keeps exporting a strange st-class for every new gradient i'm generating and refuses to assign my class, like:
<style type="text/css">
          .testStyle{fill:url(#SVGID_1_);}  //my class with a useless gradient
          .st0{fill:url(#testrect_1_);} // class generated by illustrator
</style>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="1" y2="0"> // useless gradient with no height?!
          <stop  offset="0" style="stop-color:#FFFFFF"/>
          <stop  offset="1" style="stop-color:#000000"/>
</linearGradient>
<linearGradient id="testrect_1_" gradientUnits="userSpaceOnUse" x1="118" y1="200.5" x2="400" y2="200.5"> // correct gradient
          <stop  offset="0" style="stop-color:#FFFFFF"/>
          <stop  offset="1" style="stop-color:#000000"/>
</linearGradient>
<rect id="testrect" x="118" y="117" class="st0" width="282" height="167"/>
</svg> // rectangle which should have .testStyle on it
In a correct way, it should be:
<style type="text/css">
          .testStyle{fill:url(#testrect_1_);} 
</style>
<linearGradient id="testrect_1_" gradientUnits="userSpaceOnUse" x1="118" y1="200.5" x2="400" y2="200.5"> // correct gradient
          <stop  offset="0" style="stop-color:#FFFFFF"/>
          <stop  offset="1" style="stop-color:#000000"/>
</linearGradient>
<rect id="testrect" x="118" y="117" class="testStyle" width="282" height="167"/>
</svg>
When i change the code by myself, it works properly. But it's actually no option to change every svg by hand...
Do you have any ideas what's happening there and how to possibly avoid it?!
Thanks in advance,
Flo

how to possibly avoid it?!
Don't use Illustrator?! Sorry, but you're dealing with the dumbest program on the planet when doing SVG in AI. Which of course is ironic, considering Adobe kinda invented the format. If you want code-style control, you probably will have much better luck with any other program or even JavaScript-based online SVG generators. Possibly you can do some of that with Edge, also, but I don't use it in any way, so I can't vouch for how extensive and usable its SVG features are.
Mylenium

Similar Messages

  • I'm having problem with exporting video from premiere pro cc 2014

    I'm using Adobe Premiere Pro CC 2014 and I'm having problem with exporting video.
    When I click Export and media, the window for exporting appears and it starts exporting video.
    But after a few minutes, it looks like it has completed exporting video and says there's a bug in exporting.
    It literally says it has a problem with compiling, but I don't know what the real problem is.
    I tried many things like restarting computer and Premire Pro but it's no use.
    But it works when I use Adobe Media Encoder CC 2014 for exporting video.
    If anyone knows any possibilities about why this problem happens, please let me know.

    I'm having a similar issue.  When I go to export my project, I add it to the render queue, set it up with the h.264 settings that I've used with countless past versions of the program, and then hit render.  Randomly, at some point in the process, the render just stops and the ETA just keeps climbing.  I actually had to save an XMF file of the CC 2014 project and bring it into the previous CC version of Premiere just to finish it.  Even a clean re-install of CC 2014 doesn't work.

  • Problem with Exporter for MS Access 3.2 in SQL Developer

    Hi,
    I have problem with exporting tables and data from MS Access to XML with Exporter for MS Access 2000.
    This error ocurr: 'Error #5 - XML Exporter'
    When I use Exporter for MS Access 2002 this error ocurr: 'Error #3478 - XML Exporter'
    Any leads how to solve this problem ?

    Thread moved to Forum Home » Database » SQL Developer
    SQL Developer
    Please, stay tune there.
    Nicolas.

  • Problem with exporting a report to excel vial citrix server

    Hi,
    We are encountering a problem with exporting a report to excel through ALV local file icon.A spread sheet is downloading only one row (From header) instead of many rows from the ALV output .  
    Above is working fine for the GUI installed on my PC, but not throgh the Citrix server.
    Can any body have idea on above mentined?
    Regards,
    SK.

    I understand that you're trying to download the file to a local computer  through Citrix. In this case you need autorizations in Citrix for your user ( CItrix user)

  • Problem with exporting devices to non-global zone

    Hi,
    I've problem with exporting devices to my solaris zones (i try do add support to mount /dev/lofi/* in my non-global zone).
    A create cfg for my zone.
    Here it is:
    $ zonecfg -z sapdev info
    zonename: sapdev
    zonepath: /export/home/zones/sapdev
    brand: native
    autoboot: true
    bootargs:
    pool:
    limitpriv: default,sys_time
    scheduling-class:
    ip-type: shared
    fs:
    dir: /sap
    special: /dev/dsk/c1t44d0s0
    raw: /dev/rdsk/c1t44d0s0
    type: ufs
    options: []
    net:
    address: 194.29.128.45
    physical: ce0
    device
    match: /dev/lofi/1
    device
    match: /dev/rlofi/1
    device
    match: /dev/lofi/2
    device
    match: /dev/rlofi/2
    attr:
    name: comment
    type: string
    value: "This is SAP developement zone"
    global# lofiadm
    Block Device File
    /dev/lofi/1 /root/SAP_DB2_9_LUW.iso
    /dev/lofi/2 /usr/tmp/fsfile
    I reboot the non-global zone, even reboot global-zone, and after that, in sapdev zone, there is no /dev/*lofi/* files.
    What i do wrong? Maybe I reduce my sol 10 u4 sparc instalation too much.
    Can anybody help me?
    Thanks for help,
    Marek

    I experienced the same problem on my system Sol 10 08/07.
    Normally, when the zone enters the READY state during boot, it's zoneadmd will run devfsadm -z <zone>. In my understanding this is to create the necessary device files in ZONEPATH/dev.
    This worked well until recently. Now only the directories are still created.
    It seems as if devfsadm -z is broken. Somebody should issue a call to sun.
    As a workaround you can easily copy the device files into the zone. It is important not to copy the symbolic link but the target.
    # cp /dev/lofi/1 ZONEPATH/dev/lofi
    Hope this helps,
    Konstantin Gremliza

  • Problem with Exporting Data to Excel

    Hi Everyone,
    I have problem with exporting the data to a excel file. I am using a XP
    system in German which uses comma "," as the decimal point , and I also set
    "Use localized decimal point*" under the FronPanel Options to be true. But
    the exported excel file can not recognize (or just ignore) the comma for a
    whole column (flow rate), for examle "1,234" (1.234 in non-german system)
    would be 1234. But if I open its text file where the data came
    from by calling Excel directly, there will be no problem. Is this a bug of
    LabVIEW, or I forget some settings?
    Thanks a lot!
    Le
    P.S: The LabVIEW version is 8.2.1 and the Office version is Office2007.

    Hi Le,
    Sound familiar; here in The Netherlands we have the same problem.   That is why we use the English versions for XP and Office.
    I don’t quite understand how you interface to Excel. Directly with ActiveX or through a CSV file.
    Can you explain a bit more ?

  • URGENT : Problems with exporting a translated application

    Hi ! I have a problem with exporting a translated application. Effectively, I exported both applications (The normal and the translated version). I want now to apply the translation XLIFF. I want to know if it is possible to apply my old XLIFF file. The problem is that I can't select the same ID for my application.
    I really have problems!
    Anyone can help me ?

    When I import the translated version, the translation works a little bit. Effectively, all my reports appear but there is no item that appears.

  • I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared

    I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared without Doing anything!!
    And now I can't use the " tap an click " from my tack-board and no nothing was spilled on my mac.
    Please help  

    Check your login items in the Users & Groups preference pane. Remove any that you don't recognize.

  • Problem with Adobe Flash Player website warning keeps appearing? -Solution is simple: uninstall it!

    Problem with Adobe Flash Player website warning keeps appearing? -Solution is simple: uninstall Adobe Flash Player! (-Who needs it anyway?)

    So, you didn't need help with anything, you just wanted to rant?

  • Problem with export files

    Hello,
    I have got the version 5.3, original.
    I have a problem with export files. After work with a lot of picture in dng format, I try to export all picture in jpg format, but the number of pictures exported are less than the original number.
    Why?
    Thank you in advance

    There is nothing you are doingt wrong, the web people need to check their Flash stuff, most importantly realyl include al lthe files you provide them with. there's a reason why it spits out 4 files...
    Mylenium

  • How can I fix this problem with exporting Pages files?

    Hello,
    I'm having problems with exporting Pages files to Word or PDF (I haven't tried the other formats). Whenever I try to export the Page file, I get one message like this: "The document "XXXXXXX" could not be exported as "YYYYYYY". This problem started after the last Pages update, before that it was working fine. I restarted the computer, updated the OS, but the problem hasn't been solved.
    Does anyone know how to fix this problem?
    Thank you in advance!
    Best regards,
    Filipe

    Computers are made of parts made by humans and assembled by humans of materials that are not perfect.
    For example, a display cable that was accidentally pinched during assembly would pass quality control testing with flying colors and would not fail until the lid had been opened and closed several times.
    Likewise a display might not fail until powered on and off a few hundred times.

  • Summary: Problem with export (maybe...terminated sucEE to XE issues exp/imp

    Summary: Problem with export (maybe...terminated successfully with warnings) and import (IMP-00022: failed to process parameters)
    I used PL/SQL developer to make a parameter file (initially I used it to export, then I just stole the file to try again). It contains 100 tables from a single schema.
    Export from prod DB using exp parfile=test.par: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses ZHS16GBK character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table     CONTRACT_INFO         12 rows exported
    EXP-00091: Exporting questionable statistics.
    'Export terminated successfully with warnings.' !!!I want to import into the cs2_user schema (same privileges as on the production DB) trying:impdp 'sys as sysdba'@danieldb schemas=cs2_user dumpfile=test01tables3.dmpThat gets the error: UDI-00014: invalid value for parameter, 'attach'
    I then thought maybe you have to use imp/exp or impdp/expdp instead of a combination (exp + impdp) so I tried: imp 'sys/admin as sysdba'@danieldb touser=cs2_party_owner file=test01tables4.dmpbut then I just get: IMP-00022: failed to process parameters
    Anyone see why its all failing? :s
    Mike

    you must input SID name into single-quotes like:
    C:\Tools\Oracle\product\10.2.0\db\NETWORK\ADMIN>expdp 'sys/manager@stb as sysdba'
    Export: Release 11.2.0.1.0 - Production on Thu Feb 9 13:46:16 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    UDE-06550: operation generated ORACLE error 6550
    ORA-06550: line 1, column 11:
    PLS-00201: identifier 'SYS.DBMS_UTILITY' must be declared
    ORA-06550: line 1, column 11:
    PL/SQL: Statement ignored

  • What is the problem with Itunes 11.0.1.12 and adding music to the Library?

    What is the problem with Itunes 11.0.1.12 and adding music to the Library?  I had no problems when I updated, just had to get used to the new format and appearance.  Added a few albums here and there, and then today I can't get anything in the Library.  I've always just dragged and dropped my music with no problems.  I've had an Ipod for the last six years and never encountered any big problems with Itunes or my various Ipods.

    Why is this Itunes such a pile of junk?  If I restart my computer I can sometimes find the recently added music in my Itunes Library. 
    It would be nice to know if other people are having the same problems.

  • Problems with exporting .jpg file in Indesign CS3

    Hello! I've used Indesign to create a memory book I would like to now place in another program to have printed (blurb is the company I'm using). Now that I have created the spreads I need to export each page individually as .jpg files, so that I can place them in to this other program to have them printed. (The program does not read .pdf files...they have to be .jpg). I exported each page and noticed that about 20 out of 90 have pages that have black bars over some of the pictures. I'm not sure how to remedy this problem and have tried changing some settings but unsuccessfully so. I've also had problems with Indesign crashing when I've tried to export the entire book as a .pdf. Thanks for the help!

    I think I've seen that reported before, but don't remember if an answer was found.
    HOWEVER, InDesign's jpeg export leave a lot to be desired under any circumstances, and the best method is to export a good PDF (Use one of the presets intended for printed output) then open that in Photoshop using appropriate settings (if you have body copy sized type, I'd recommend using 600 ppi to keep it realtively crisp, but the printer will probably complain about the size of the file) then save as a high quality jpeg in whichever color profile is recommended by the printer.
    I know you said you had some trouble exporting the whole book as PDF, but maybe we can solve that if you give some more details.
    Peter

  • Problem with exporting and printing from pages to PDF

    I have a problem with my Pages
    My font will not be embeded in my pdf files.
    I have saved as a ps file and in to the destiller and my fonts are missing.
    I need to send my file to the print shop but they will not accept my file and i now understand why.
    fonts are missing...
    Is there a workaround.
    I have no problem in Indesign or quark but pages.....
    I need help
    thanks a zillion

    The font is coming from a notation software Sibelius 4 and is namned opus
    Hmmm ... Sibelius is a music notation software and notations are marked up in MusicXML. Presumably the font file is an SFNT with TrueType splines, but it is probably not installed in OS X system folders - rather in an internal Sibelius application font folder. So presumably you do not see the font in FontBook and OS X font auditing does not apply to the font.
    Sibelius exports EPS files, right? If memory serves, an EPS is still legal even if the font resource is not embedded. And in any case, we know from the behaviour that the font resource is not embedded for some reason. So how do you get Sibelius to put the font resource inside the graphic ... normally there is a button in the EPS export procedure that gives you the option to Embed All Fonts.
    You do not seem to get this button, though. Or why else would you not have checked it already and the problem would have gone away already.
    The next point in troubleshooting this is that you are not following the path that would let OS X detect that an external font resource is not embedded.
    I go from pages-print-printer- acrobat Pro 8-save as Pdf-x
    What you are doing here is telling Pages to tell OS X to generate a PostScript program within which is nested your Encapsulated PostScript program with the call to an unresolved external font resource.
    So why does Acrobat Pro not detect the unresolved external font resource? Hmm ... did you try the Preflight option in Acrobat 8 Pro? It should provide information on unresolved embeddings.
    I have also tried pages-print-printer- acrobat Pro 8 and save pdf as postscript and put the postscript file in destiller 8 pro with defalt setting high quality print
    The whole problem with EPS and PS is that this sort of situation is possible in the first place (plus, what is worse, the PS program can include custom additions to the graphics model that then fail in the PS interpreter whence Apple GX normalizing, Adobe Distiller normalizing, and Apple Quartz normalizing). You want to get as far away from EPS and PS as possible, believe me.
    So, you have not done what I posted that you should do in the first place. If I were you, I would first get rid of the problem that the EPS is making a call to an external font and then get rid of the problem that the PostScript is preserving the external call.
    To get rid of the problem that the EPS is preserving an external call, simply open the EPS in Apple Preview which includes a NORMALIZER for EPS/PS, and then save out the graphic as PDF. Alternatively, if you don't trust Quartz for some reason, set up a hotfolder for Distiller, make sure the option to embed all fonts is enabled, and convert the EPS to PDF.
    Now replace your EPS in Pages with PDF in Pages, and don't save PostScript to disk but save PDF to disk through the proper procedure which is File > Print > PDF > Save as PDF/X [for your custom configuration of the PDF/X-3 filter considering that no sane person in North Europe prints lowend US SWOP, we use ISO].
    If you begin by telling OS X that you want PDF within which fonts are supposed to be embedded ALWAYS, then you have started the right way. Otherwise, you have not told the operating system what you want to do, and this then leads you into places where you are unlikely to have the expertise to troubleshoot problems.
    So, forget placing EPS in the first place, place PDF. And forget saving PostScript to disk, save PDF to disk. If that does not sort your problem, here is the dirty solution for professional prepress.
    Adobe Photoshop has an EPS rasterizer that has wide tolerances for poor PostScript programming (so does Adobe Illustrator 6 and higher by the way).
    Therefore, if an EPS is posing problems, one workaround is to rasterize the EPS at high resolution in Photoshop and place that high resolution PDF in your layout.
    Take care that you rasterize as 1 bit at the required resolution of the print provider, probably 2450 dpi. When you save the 1 bit as PDF, Photoshop automatically compresses to a very, very small file (don't be surprised if 15Mb compresses to something like 0.5Mb).
    Rasterizing in Photoshop should not be necessary if you simply start by telling the operating system what it is you are trying to do. Then the operating system should be able to take the right decisions for you, and tell if you if finds problems it cannot resolve without turning to you.
    Good luck,
    Henrik
    would-be technical writer

Maybe you are looking for

  • Error exporting NamedCache to file via PofWriter

    I'd like to dump some NamedCaches with a large number of entries (> 200,000) to files, and then be able to re-load the NamedCaches from those files. I realize that there may be a feature in an upcoming version of Coherence to do this sort of thing, b

  • Is it possible to stop APEX using a cached query?

    I was hoping that the issue where report regions sometimes show the error: "ORA-06502: PL/SQL: numeric or value error: NULL index table key value" would be fixed in 3.1.1 however it seems not to have been (We have had it several times now). The worka

  • Punctuation displaying wrong on forums and other sites

    Apostrophes and quotation marks (' and ") in my forum posts appear as weird characters to other people; I don't know what it looks like to them, but someone went in and corrected a batch for me and on my end they look like this: http://i51.tinypic.co

  • TranslationHub and Japanese

    Using the TranslationHub the following problem occurs: I want to translate a german forms module into a japanese one. Starting the TranslationHub is no problem. I can see the base string, however in the column Translation String I cannot see japanese

  • Battery won't charge but computer will run off the cords energy

    I have the cord plugged in and currently my computer is running off of the power from the wall, not battery power. So it is connecting but it won't charge the battery. does anybody have any idea on why it isn't working and how i could fix it?