aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-26 12:48:46 +0100
committerwout <wout@impinc.co.uk>2012-12-26 12:48:46 +0100
commitf301d239c399ee4ee9c5656c5565ee2208294b14 (patch)
treea6e8e9520ab7693258034e6c692208ae41ca418a /README.md
parenta2f2323f3d03a0c79232647f9716bb9d5d4c9d54 (diff)
downloadsvg.js-f301d239c399ee4ee9c5656c5565ee2208294b14.tar.gz
svg.js-f301d239c399ee4ee9c5656c5565ee2208294b14.zip
Fix in path
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index afb933b..4f48b6c 100644
--- a/README.md
+++ b/README.md
@@ -25,10 +25,12 @@ This will generate the following output:
</svg>
</div>
```
-If the svg canvas should follow the dimensions of its parent, in this case '#paper', you can use a percentage value:
+If the svg canvas should follow the dimensions of its parent, in this case '#paper', you can also use a percentage value:
```javascript
var draw = svg('paper').size('100%', '100%');
```
+By default the width and height are set to 100% so you will not need it very often.
+
## Elements
@@ -362,6 +364,8 @@ SVG.extend(SVG.Doc, {
```
+
+
## Building
Starting out with the default distribution of svg.js is good. Although you might want to remove some modules to keep the size at minimum.