Thread: CSS and img height & width
Results 1 to 2 of 2
02-22-2007, 02:31 AM #1
CSS and img height & width
I have a bunch of HTML page that contains the height and width of image (inside the <img src..> tag for each image) set to 32px. I tried to override the height and width with the following entry in the CSS file
A sample HTML page contained 20+ images and few of them seemed to work fine and the other few were still showing up small.
However all images showed up fine in Firefox. This issue seems to be specific to IE 5.0/6.0+
Any idea what might be the issue?
02-22-2007, 07:04 AM #2
Re: CSS and img height & width
I believe that the attributes within the img tag take precedence over what is in your CSS. Remove the height and width attributes from the img tag and the images will show up in your web pages as their true size.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more