XML Elves

XML Elves

<community>of XML and SVG Developers</community>


resizing matter

This is a discussion on resizing matter within the SVG Questions forums, part of the SVG Forums category; Pelase help me, i'm goin crazy with a resizing problem. I edited an svg file, whose header is as follow: ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2004, 06:05 AM
Junior Member
 
Join Date: May 2004
Posts: 2
Default resizing matter

Pelase help me, i'm goin crazy with a resizing problem.
I edited an svg file, whose header is as follow:


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet href="stilemappa.css" type="text/css"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

<svg xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="svg602" sodipodi:version="0.34" width="210mm" height="297mm" sodipodi:docname="Erova.svg" viewBox="0 0 0 0">



HOW CAN I RESIZE IT TO FIT IT TO A WEBPAGE. I ALREADY TRIED TO CHANGE WIDHT AND HEIGHT OF DIFFERENT SOLUTION: FRAME, IFRAME, EMBED, THE SVG ITSELF.

I'M QUITE HOPELESS..

does anyone KNOW THE SOLUTION? THANK YoU IN ADVANCE. bye.
__________________
anko.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2004, 06:45 AM
Anonymous
Guest
 
Posts: n/a
Default resizing matter

viewBox="0 0 0 0" seem strange, with this values you must get no drawing ....

Do you try
width="100%" height="100%" viewBox="0 0 210 297">
This suppose that your coordinates are in mm ... from 0,0 to 210,297 ...

If you want that your svg fill all screen - but it will be distorted - you can add
preserveAspectRatio = "none"

If you embed svg in html, for embedded give same values for width and height.


Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2004, 08:20 AM
Junior Member
 
Join Date: May 2004
Posts: 2
Default it works!

It works!!

Fixed!


.. it was probably the only solution I hadn't tried!!!

Thank you
__________________
anko.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
matter, resizing


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 02:38 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

Canon Pixma Ink Cartridges
Here is a good site for Canon Pixma ink cartridges.

printer inks
We stock printer inks for all the major brands. Quality and value, the perfect combination. Free delivery and freephone too!

Hard Disk Drive Data Recovery Lancashire
Are you in Lancashire and urgently need someone to do recovery of data on your hard disk drive? Call us for a free quotation.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10