If you are talking about on the fly on a web server, there are some things in PHP (and I am assuming in other programming languages) that can determine the size of an image. Then you can do the height/width of the CSS style inline rather than in a stylesheet based on the numbers that PHP figured out.
-- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Dec 1, 2006, at 10:11 AM, Chris Williams wrote: > Finding out its size is easy, but it depends on the OS. On Mac, just > look in the finder. On WinXP, right-click, properties, summary tab, > "advanced". > > -----Original Message----- > From: Diego Chagastelles > Subject: [css-d] img size > > I have an image. I dont know its size, dont know if it has a bigger > width or > a bigger height, and this is fundamental to fit the image in a div: > cause I > want the image as big as possible inside the div. How can I do that? > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > IE7 information -- http://css-discuss.incutio.com/?page=IE7 > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/