flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Fritze <marcus.fri...@googlemail.com>
Subject [FlexJS] How can I set css values for <html> and <body> of the generated html file?
Date Fri, 11 Dec 2015 14:35:40 GMT
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.



View raw message