View Single Post
Old 11-04-2013, 08:28 PM   #8
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
You can do it like this:

Code:
<body >
<div style="width: 100%;">  
    <img alt="Image" src="../Images/map.jpeg" />
</div>
</body>
Also, I remember that if you know the width and height of an image beforehand, then adding them to the image is (maybe... was?) good practice, as it would make it faster for a browser to lay out a page.

Don't quote me on this; I've not done serious front-end web development for some years now.

Last edited by Katsunami; 11-04-2013 at 08:32 PM.
Katsunami is offline   Reply With Quote