[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wine and IE



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<snip>
> even with comlpiant browsers, valid html and valid css you can still get
> display difference between browsers!
>
> take the following (abrevieted) example
>
> <html>
> <head>
> <style>
> #big {width : 100px; height :100px; background-color : red;}
> #small {width : 50px; height: 50px; background-color : blue;}
> </style>
> </head>
> <body>
> <div id="small">
> a small div containing
> <div id="big">
> a big div
> </div>
> </div>
> </body>
> </html>
>
>   now there is nothing invalid about either the CSS or the HTML above
>
> But it is clearly bad coding - the big div can't fit inside the small
> one - and the browser has to either increase the size of the small div,
> decrease the big one, break the containment ...

This is clearly not logical, so why does the browser render it at all or tries 
to guess what the designer really meant? That makes no sense to me. Why not 
just saying bug in line 11, or something?

Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+VVIuILH3kR/OabQRAtUVAKCTklPBnFlEvo3iEQKAS78JNXrjbgCaAlqd
uIWXSzK5KARQop1smouwDIg=
=hU9G
-----END PGP SIGNATURE-----



Reply to: