W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] require img dimensions to be correct?

From: Dean Edridge <dean@55.co.nz>
Date: Sat, 17 Mar 2007 13:03:02 +1300
Message-ID: <45FB3036.4040801@55.co.nz>
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
Received on Friday, 16 March 2007 17:03:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC