export to SVG with viewbox set to document size?

Community Beginner ,
Feb 23, 2021

Copy link to clipboard

Copied

Hi there.
Is there a way to export an AI-document to SVG (with internal CSS) in such a way, that the SVG viewbox matches the document size in AI? 
Thanks

TOPICS
How to, Import and export

Views

26

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Feb 23, 2021

Copy link to clipboard

Copied

Edit: found it I think. I got the german version of AI, but I'd assume that the english version calls this option "export with canvas" or something like that.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
arkadijl34624224 AUTHOR LATEST
Community Beginner ,
Feb 23, 2021

Copy link to clipboard

Copied

Nope, that didn't do it. I used a combination of "export with canvas" and javascript to adjust the viewport settings in the SVG. If there really is no way of "set SVG viewport size to canvas size", I wish Adobe would add that.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more