|
Posted by Bone Ur on 11/14/07 07:51
Well bust mah britches and call me cheeky, on Wed, 14 Nov 2007 06:16:56 GMT
dalyea@gmail.com scribed:
> Thanks for the reply. The table option is certainly one I considered
> and actually
> have been using for the longest time. But I have 2,000+ such item
> files that take
> up 78M of disk space, and I am trying to cut down not only disk space
> usage
> but also speed up delivery of my pages. By using the div tags alone
> instead of
> tables, I cut my page size total down to 67M for the 2,000+ files.
Huh? Your example showed a table!
> But that aside, the point of my post was missed in your response, and
> that is
> that I wish to display every row in the table at exactly 64px in
> height, and that
> the images in the table will not always be 64px or greater in size.
> (I have written
> the code obviously to do the simple math scaling to keep image
> proportional and
> at or under 64px in size.) If an image is 47px x 30px, then that
> image will rest
> at the top of the li1 div container, and I want it to be vertically
> centered in the middle
> of the div container (hence the subject line of my post). I guess the
> part I left out
> is that the image sizes vary widely and that this is not a 1 row
> table.
Get the image out of a div and directly in the cell, then vertical
centering is easy (and, btw, the default). Whatever other alignment you
need, work on that afterwards.
--
Bone Ur
Cavemen have formidable pheromones.
[Back to original message]
|