>>>>>> It might be a good idea to prefix all Flex CSS with a Flex prefix
>>>>>>so it
>>>>>> does not step on settings for the rest of the web page.
>>>>>> For this example something like this:
>>>>>>
>>
>>>> -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
>>>>> box-sizing: border-box;
>>>>> }
>>>>>
>>>>> As long as the base div of the application has an apacheFlex class,
>>>> that
>>>>
,
> >>that
> >> >should isolate the css to the app.
> >> >
> >> >On Apr 8, 2014, at 12:59 PM, wrote:
> >> >
> >> >> I believe the only thing to lookout for when using the global(*) on
> >>the
> >> >>bo
p.
>> >
>> >On Apr 8, 2014, at 12:59 PM, wrote:
>> >
>> >> I believe the only thing to lookout for when using the global(*) on
>>the
>> >>border-box is that it will affect images too. Meaning it will push
>> >>border size and padd
it will affect images too. Meaning it will push
> >>border size and padding inside of its bounding area and scaling the
> >>image down. Setting the images back to a regular box should work.
> >>
> >> -Mark
> >>
> >> -Original Message-
>
g the images back to a regular box should work.
>>
>> -Mark
>>
>> -Original Message-
>> From: Peter Ent [mailto:p...@adobe.com]
>> Sent: Monday, April 07, 2014 2:46 PM
>> To: dev@flex.apache.org
>> Subject: Re: [FlexJS] CSS Box Model
>&
ril 07, 2014 2:46 PM
> To: dev@flex.apache.org
> Subject: Re: [FlexJS] CSS Box Model
>
> Thanks your help and insight. After some experimentation, the border-box
> model is how we'll proceed. Thus .width and .height properties will be the
> bounding box for the component with border an
-Original Message-
From: Peter Ent [mailto:p...@adobe.com]
Sent: Monday, April 07, 2014 2:46 PM
To: dev@flex.apache.org
Subject: Re: [FlexJS] CSS Box Model
Thanks your help and insight. After some experimentation, the border-box
model is how we'll proceed. Thus .width and .height properties will b
Thanks your help and insight. After some experimentation, the border-box
model is how we'll proceed. Thus .width and .height properties will be the
bounding box for the component with border and padding inside this box.
We'll take the margin information under advisement, but I think I agree
with t
Welcome to HTML world. I've been mulling over this for the last few months.
I agree that the border box model would be closer to what people would
expect. The default box model is based on the original use case of layout
and position of documents not applications. The border box model was
specifica
Mark
>
>-Original Message-
>From: Peter Ent [mailto:p...@adobe.com]
>Sent: Monday, April 07, 2014 9:20 AM
>To: dev@flex.apache.org
>Subject: Re: [FlexJS] CSS Box Model
>
>So this is a crazy, no-win situation. Our box model is either compatible
>with the "
Well the "box-sizing: border-box" html/css property works pretty good.
Wouldn't that make it more compatible with the AS side?
-Mark
-Original Message-
From: Peter Ent [mailto:p...@adobe.com]
Sent: Monday, April 07, 2014 9:20 AM
To: dev@flex.apache.org
Subject: Re: [
So this is a crazy, no-win situation. Our box model is either compatible
with the "standard" of most browsers or compatible with some quirk or
extra feature that attempts to make sense out of something that shouldn't
have been done in the first place.
Or, to put it another way, we are trying to im
I think the default of the css box model is broken by design.
I'd think the solution is simply to stick to using border-box.
http://css-tricks.com/box-sizing/
On Apr 4, 2014, at 9:54 PM, Peter Ent wrote:
> Hi,
>
> I've been working on a mobile app example for FlexJS as a way to try out the
> F
Hi,
I've been working on a mobile app example for FlexJS as a way to try out the
Flex JS in a practical manner with the intent of running the app using
PhoneGap. In the course of doing this I've been running into things that need
adjustment.
One of them is the box model. Right now FlexJS is so
15 matches
Mail list logo