Notes on Java, Solaris, PHP, LDAP…

November 17, 2007

gallery/thumbnails of pictures in HTML

Filed under: Uncategorized — negev @ 4:36 pm

22 Feb 07
gallery/thumbnails of pictures
– resize the pictures so that they have one dimension same – either height (then show them in a horizontal row) or width (show them in a vertical bar)
– use <img src=”maczilla.gif” style=”width: 50%” /> and then the other dimension gets rescaled/recalculated so that ratio of the picture dimension’s is preserved
— not mentioned at W3C, but it works for Firefox/IE/Opera


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: