From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Scaling HTML-exported SVG Date: Fri, 22 Jul 2016 16:10:30 +0300 Message-ID: <87y44tx1h5.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQaE2-0006ZW-EP for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 09:10:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQaDw-0004Bf-AB for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 09:10:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:40095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQaDv-0004Ba-Sw for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 09:10:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bQaDt-00010r-Mm for emacs-orgmode@gnu.org; Fri, 22 Jul 2016 15:10:37 +0200 Received: from 82-181-168-52.bb.dnainternet.fi ([82.181.168.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2016 15:10:37 +0200 Received: from jarmo.hurri by 82-181-168-52.bb.dnainternet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2016 15:10:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Greetings. Does anyone have any idea of how to scale an SVG figure produced by Org (Asymptote)? The exported HTML is

Sorry, your browser does not support SVG.

and the SVG file begins with I have tried various approaches in my CSS, but nothing has worked so far. I have searched online, and scaling SVG files seems to be a mess. I basically want to scale the SVG file to be, say 80% of viewed width. My first try was .figure { width: 80vw; } After that I have tried maybe 120 other versions, and nothing has worked. Jarmo