[whatwg] require img dimensions to be correct?

Dean Edridge dean at 55.co.nz
Fri Mar 16 17:03:02 PDT 2007


Benjamin West wrote:
> On 3/16/07, Dean Edridge <dean at 55.co.nz> wrote:
>>  Firstly, the chance of someone not being able to access the CSS for 
>> a web
>> page is I'm guessing, pretty slim.
>
> <img style="height: 50px; width: 50px;" />   Why is accessing CSS a 
> problem?
>
> -Ben West
>
>
>
I never said that accessing the CSS would be a problem. It was suggested 
earlier that in case it was, we should make it compulsory to set the 
width and height of images in-line. If you read my post it explains the 
problems of having a mix of in-line styling and styles in a CSS file, 
and suggests that styling should just be left in the CSS and not a mix 
of both. This is because, if there is no CSS available, the browser only 
has styling rules for some of the elements and this can sometimes be a 
problem.

Dean Edridge



More information about the whatwg mailing list