OT: img size width question ...

Keith Smith techlists at phpcoderusa.com
Sat Mar 28 10:06:14 MST 2015


The couple times I used HTML to size an image -  <img src="smiley.gif" 
alt="Smiley face" height="42" width="42">  it always worked for me.  I 
would suggest malformed HTML or maybe CSS is doing something?



On 2015-03-28 11:45, JD Austin wrote:
> Can't you use GIMP or some other imaging editing program to resize the
> actual image?
> Browser implementations will vary but if the image is actually that
> size it will be the same regardless.
> 
> -- JD Austin
> Voice: 480.269.4335 (480 2MY Geek)
> jd at twingeckos.com
> 
> On Sat, Mar 28, 2015 at 9:41 AM, <joe at actionline.com> wrote:
> 
>> Also, I just checked it on a 12" Chromebook and the image
>> is even larger than on a 24" desktop monitor. (Yes, I did
>> CTRL + 0 (zero)
>> 
>> That makes no sense.
>> 
>> ---------------
>>> What is the actual size of the image?  I'm not sure, however I
>> think
>>> that when getting the properties of an image it will show the
>> actual
>>> size of the image not the HTML width and/or height.
>> 
>> ---------------
>> 
>>> On 2015-03-27 19:46, joe at actionline.com wrote:
>>>> When I use <img src=image.jpg width=270>
>>>> and then view/screen capture the result,
>>>> the actual width is 380 pixels.  Why is that?
>>>> 
>>>> How can I specify the desired size and get
>>>> what I specify?
>> 
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss [1]
> 
> 
> 
> Links:
> ------
> [1] http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-- 
Keith Smith


More information about the PLUG-discuss mailing list