Jump to content
MakeWebGames

Recommended Posts

Posted

How do i make it so the page doesnt expand when you add an image which its pixels are larger than the page width? i tried many methods looked on the net but nothing seems to work.. is there anything available and style?

Posted

Re: Image pixel

Omg i just found out i was a noob!! why not do it the easy way..

On many games the images used for signatures and forums overflow the page width.. many people dont know how to stop this...

Could you believe that this did not come to your mind.. well i forgot about this..

Just add this to css:

img {

max-width: xxxpx;

max-height: xxxpx;

}

Change 'xxx' to the fixed pixel.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...