View Single Post
Old 05-16-2017, 04:19 AM   #1
Cyberseeker
Connoisseur
Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.Cyberseeker ought to be getting tired of karma fortunes by now.
 
Posts: 60
Karma: 602194
Join Date: Apr 2017
Device: Ipad
Maximize Image Width

I want to use SVG diagrams in my book, and they have various widths. Up till now I have been inserting them with the following code:

Code:
<div><img alt="My Diagram" src="../Images/my diagram.svg"/></div>
However, I would like them to utilise the maximum screen space of whatever device the reader is using. Could someone suggest code that tells the image to render itself to the maximum width (portrait or landscape) of the device they are on? Thereafter, can they be 'zoomed' even larger still?
Cyberseeker is offline   Reply With Quote