![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
[declare "px" in sizes] img src="1.jpg" name="moviePic" width="640px" height="416px" |
#2
| |||
| |||
|
|
"Evertjan." wrote [declare "px" in sizes] img src="1.jpg" name="moviePic" width="640px" height="416px" First time I 've seen units declared in simple width and height attributes. Are you not confused with widths and heights coming from css? But I tried and found it works (tested in IE6)! How far backward compatible is this? I 'm sure this wasn't necessary before. |
#3
| |||
| |||
|
|
width="640" is automatically stating 640 pixels. No units are necessary, and are probably incorrect if used. |
#4
| |||
| |||
|
|
On 4-May-2004, Michael Winter <M.Winter (AT) blueyonder (DOT) co.invalid> wrote: width="640" is automatically stating 640 pixels. No units are necessary, and are probably incorrect if used. |
|
HTML and its variants specify that "px" is a legitimate qualifier; why should it be incorrect to use it? |
#5
| |||
| |||
|
|
"Evertjan." wrote [declare "px" in sizes] img src="1.jpg" name="moviePic" width="640px" height="416px" First time I 've seen units declared in simple width and height attributes. Are you not confused with widths and heights coming from css? But I tried and found it works (tested in IE6)! |
|
How far backward compatible is this? I 'm sure this wasn't necessary before. |
![]() |
| Thread Tools | |
| Display Modes | |
| |