Jump to content
Sign in to follow this  
koby

.

Recommended Posts

Thank you for taking the time to read this, I have found a method to resize my images according to browser size. hight: 100%; max-hight: 500px;
Should be spelled, "height".

Share this post


Link to post
Share on other sites

really?http://w3schools.invisionzone.com/index.php?showtopic=35042glad to have been of some assistance.... :) edit: just an FYI, cross posting is frowned upon.

Edited by thescientist

Share this post


Link to post
Share on other sites

also, I made a mistake in your other thread, but since you deleted all your posts and the thread was closed, I'll have to do it here. The mistake was in the declaration of the img selector, specifically the display part. Notice the difference.

img{  display: inline-block;  width: 100%;  max-width: 800px;}

So now try it like this, with just this in the HTML and the above CSS. The rest can be added in once you get the images looking the way you want

<div id="image_container">  <img src="img1.jpg"></img><img src="img2.jpg"></img><img src="img3.jpg"></img></div>

Edited by thescientist

Share this post


Link to post
Share on other sites

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.

Loading...
Sign in to follow this  

×
×
  • Create New...