When I set the height of ViewBase to 100% , this height isn’t actually 100% 
(visible) in the generated HTML file.

It generates:

<div id="viewBase" style="display: block; position: relative; width: 100%; 
height: 100%; padding: 10px; background-color: rgb(255, 0, 0);“>

I recognized, that the 100% height is only working, when <html> and <body> has 
also "height:100%“ in style.

So how can I set this style in my mxml file? I tried with


@namespace html5 "library://ns.apache.org/flexjs/html5";

html5|html, html5|body{
    height: 100%;

}

But this produces some compiler error. It looks like this namespace isn’t 
working in my IntelliJ. I don’t know why.


Thanks

Marcus

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to