hey all
i have a quick simple question. is it okay in an image tag to mix pixels with percents?
example being = <img src="pic.jpg" height="125" width="20%">
or is that a bad idea?
i want the images to be a certain width across the screen, so they adjust to any screen resolution.
I would like to do the height a percentage so that re-sizes to any screen resolution too, but if i have say 4 going across and 10 tall, i dont want to have each image height 10% and if i add more, i dont want to have to adjust that.
does that make sense?
thanks!
i have a quick simple question. is it okay in an image tag to mix pixels with percents?
example being = <img src="pic.jpg" height="125" width="20%">
or is that a bad idea?
i want the images to be a certain width across the screen, so they adjust to any screen resolution.
I would like to do the height a percentage so that re-sizes to any screen resolution too, but if i have say 4 going across and 10 tall, i dont want to have each image height 10% and if i add more, i dont want to have to adjust that.
does that make sense?
thanks!