Thank you very much, that worked.
Without defining the width; it doesn't work. I think this was one of the troubles before.

From: Shawn H Corey <>
Sent: Monday, 3 October 2011, 22:38
Subject: Re: [Inkscape-user] align the web page centerally

On 11-10-03 02:01 AM, openguen wrote:
> I already wrote it as "margin-left" and "margin-right". And also I set
> width as 100% in one version and in pixels in another version.
> I am still looking for a solution...

In the attached file, I have used a text editor to add this to the svg tag:

  style="margin-left: auto; margin-right: auto; width: 180;"

The width is the same as the width= attribute (of the svg tag). It centres the image in Firefox but I haven't tried other browsers.

-- Just my 0.00000002 million dollars worth,

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

"Make something worthwhile."  -- Dear Hunter

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
Inkscape-user mailing list