I am resizing a picture for a AG2 game and need to know the html to resize.
What is the HTML code you need to resize pictures?
%26lt;img src="webaddress of image goes here" width="WIDTH GOES HERE" height="HEIGHT GOES HERE"%26gt;
there you go
Reply:you just set the width and height attributes, of the IMG tag, but you're best resizing in a paint program first, else it won't reduce the file size.
Reply:if you want to make your pages more accessible to people that can't see very well use EM measurements in your pages.
1.0em = 16px or 10pt
%26lt;span font-size:1.0em;"%26gt;your text%26lt;/span%26gt;
%26lt;img src="imagename" style="width:6.75em; height="6.75em"%26gt;
to see what i mean click on VIEW at the top of your browser and change the text size and the text and images will get get bigger or smaller.
you can do this also by holding down the CTRL key and scrolling the center wheel on your mouse forward or back.
yahoo uses em measurements on their site. try it and see.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment