Source language: Translate to:

Strange Bug

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Strange Bug

Postby luishp » Thu Feb 04, 2016 1:56 pm

I have just added this into Project->Properties->Styles in a blanck new project:
Code: Select all
#NewPage{
    display:flex;
}

When I try to see the result on any browser, this is what I see :shock: :
Code: Select all
<div id="NewPage"> </div>

By the way, "display:flex" allows for new generation responsive flexible design, please take a look here to see the posibilities:
http://flexboxin5.com/

Thank you!
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Strange Bug

Postby anton » Thu Feb 04, 2016 9:31 pm

luishp wrote:I have just added this into Project->Properties->Styles in a blanck new project:
Code: Select all
#NewPage{
    display:flex;
}

When I try to see the result on any browser, this is what I see :shock: :
Code: Select all
<div id="NewPage"> </div>

By the way, "display:flex" allows for new generation responsive flexible design, please take a look here to see the posibilities:
http://flexboxin5.com/

Thank you!


It's not a bug. ID NevPage applied to the element - "script." Therefore the property "flex" is applied to him.

<script type="text/ng-template" id="NewPage">
<div id="NewPage">
</div>
</script>


To everything worked as it should, it is necessary to write a style like this:
Code: Select all
div#NewPage{
    display:flex;
}
User avatar
anton
 
Posts: 51
Joined: Fri Oct 19, 2012 9:21 pm

Re: Strange Bug

Postby luishp » Thu Feb 04, 2016 11:50 pm

You are right Anton.
Thank you!
In any case, it is curious because I have been applying styles to pages this way until now with no problems at all :)
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 0 guests