« Web, HTML, Tech Forum

How can I increase the size of an image?

Posted by Doozilla

posted

Forum: Web, HTML, Tech

Iv been struggling to figure out how to make my images not look so small or big, and I haven't been able to find any code to change this


Report Topic

1 Reply

Reply by ☆Emi☆

posted

there are a few ways you can do this. you can set the width of the image to a percentage or a number of pixels. for example:

width: 100%;

or:

width: 100px;

the percentage will be relative to whatever container the image is inside, unless the position of the image is set to fixed. in that case, i believe it would be relative to the whole screen. just play around with it and find a size you like. i would suggest doing a percentage because it will scale to whatever size screen someone is on. 


Permalink Report Reply