Open the Screen Dimensions section of the Inspector to see the screen dimensions, the value you’re seeing in the Dimensions section is the width of the editable content of the item (as determined by the box model in HTML).
Hope this helps,
Joe
On 12 Aug 2010, at 10:45, OmarKN wrote:
Just discovered a strange way of FRW (tell me why) calculating the div dimensions:
When padding is applied to the div, its width is reduced (by the amount of padding), shouldn’t that be the case with margins?!
In CSS, width includes the following: margin, border, padding, and
“editable content”, which could be the same stack of properties of
some nested content element, down to the barest of text nodes.
In Freeway, you can elect to have Freeway adjust the box dimensions
(as you are seeing) or not. This preference is set on the General
Preferences tab. Depending on your mindset, this will either be
confusing or not.
If you uncheck this option so that Freeway will leave dimensions
alone, then if you add padding to a box in the design view, it will
also become visually wider, rather than causing the text or other
content to be inset further within a fixed-size object.
If your design relies on the inner dimension of the box more than the
outer, you can set it to behave this way and keep your inner
boundaries the same as you change padding or margins.
Walter
On Aug 12, 2010, at 6:18 AM, OmarKN wrote:
the value you’re seeing in the Dimensions section is the width of
the editable content of the item
Alright thank you,
I guess it’s a question of definition / how to define “width”, but
now I know, it is the editable content of the item.