The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

HTML image resizing

View previous topic View next topic Go down

Solved HTML image resizing

Post by sykog on August 26th 2012, 1:00 am

http://www.sonicommunity.net/h31-p-2012

How would I be able to resize the images so that they fit the borders on the HTML pages?

sykog
New Member

Posts : 11
Reputation : 2
Language : English

Back to top Go down

Solved Re: HTML image resizing

Post by sykog on August 28th 2012, 10:03 am

Bumpitty bump bump bumpitty bump bump over he hills we go...

sykog
New Member

Posts : 11
Reputation : 2
Language : English

Back to top Go down

Solved Re: HTML image resizing

Post by Proxy*64* on August 28th 2012, 10:23 am

oh that is so easy.
just add something like this in your html page:

Code:
<style type="text/css">#main-content img {
max-width: 500px;
}</style>

if you want an other method,you can do it with html.

to put an image to have to add this code

Code:
<img src="URL"/>


and you add two values in every image

Code:
<img src="URL" height="IMAGE HEIGHT IN PIXELS" width="IMAGE WIDTH IN PIXELS/>


Proxy*64*
Forumember

Male Posts : 113
Reputation : 6
Language : English,Greek|HTML/CSS/jQuery

http://fataola.forumgreek.com

Back to top Go down

Solved Re: HTML image resizing

Post by sykog on August 28th 2012, 10:46 pm

Okay, thanks

sykog
New Member

Posts : 11
Reputation : 2
Language : English

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum