New home page

Bruno Medeiros brunodomedeiros+spam at com.gmail
Thu Oct 7 02:41:43 PDT 2010


On 06/10/2010 15:25, Stephan Soller wrote:
> On 06.10.2010 02:08, Arlo White wrote:
>> That's because HTML/CSS is a pretty terrible language for anything
>> beyond simple layouts. It shares more with Word/PDF/PostScript in terms
>> of its purpose and history than it does with real gui layout engines
>> (GTK, QT, etc).
>>
>
> HTML/CSS is primary made for documents not applications. If you want you
> can simply make every element a block level element and use JavaScript
> for layout. I don't know GTK and QT in depth but then you should have
> about the same level of possibilities as with these layout engines. It
> wouldn't surprise me if GUI frameworks like jQuery UI actually do this.
>

The issue is not with level of possibilites. HTML/CSS has as much 
possibilities as many GUI toolkits, if not more. (there is really a lot 
of stuff you can do you HTML/CSS if you figure out how to). The issue is 
that it's incredibly hard to do that, HTML/CSS is so convoluted. (and 
I'm talking about proper flowing designs, now pixel-based, fixed-width 
ones. Those are fairly easy in both HTML and GUI toolkits).

And what do you mean "use JavaScript for layout"? You can't use 
JavaScript for layout. You can use JavaScript to programmatically 
manipulate the CSS properties of HTML elements, but you are still using 
the same HTML rules for layout, so the difficulty is unchanged.

-- 
Bruno Medeiros - Software Engineer


More information about the Digitalmars-d-announce mailing list