Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

Images and Printing

2 bytes removed, 14:04, 12 November 2012
Image Scaling
Images can be scaled by changing the image measurement units. These units can be different types such as;
* Pixels: px
* Doths Dots per inch: dpi
These are the most commonly used types for images over the web. Images can be scaled in HTML using tags or attributes called width and height. An example of this is when an image may be 200px in width and 300px in height, now I put this inside a box on a web page. I may have less space to work with so i change the width and height of the box to say 100px and 150px . The image size is the same but because i have specifically set the width and height of the box, it will crunch the image to fit this box.
Browsers such as older versions of internet explorer will do this crunch automatically but will also crunch any other content that may be with the image. This can lead to distorted content and images. There are ways around this which can be seen below.
 
== Printing ==
7,528
edits