Versions

RemoveDimensions.fwaction (2013-01-24) (Downloaded 44 times)

Contains:

  • style_accessors (library-action) - v. 1.2.2
  • RemoveDimensions (item-action) - v. 0.5.1

Compatible: Pro 4, Pro 5, Pro 5.5, and Pro 6

RemoveDimensions.fwaction (2012-09-18) (Downloaded 0 times)

Contains:

  • RemoveDimensions (item-action) - v. 0.4.2

Compatible: Pro 4, Pro 5, and Pro 5.5

RemoveDimensions.fwaction (2012-09-17) (Downloaded 0 times)

Contains:

  • RemoveDimensions (item-action) - v. 0.4.1

Compatible: Pro 4, Pro 5, and Pro 5.5

RemoveDimensions.fwaction (2012-09-13) (Downloaded 0 times)

Contains:

  • RemoveDimensions (item-action) - v. 0.4

Compatible: Pro 4, Pro 5, and Pro 5.5

RemoveDimensions.fwaction (2009-01-01) (Downloaded 0 times)

Contains:

  • RemoveDimensions (item-action) - v. 0.3

Compatible: Pro 4 and Pro 5

Author: Walter Davis

cms template html css server content management

This Action may be applied to any element in a Freeway layout to remove the height and/or width dimensions from it. This allows you to duplicate the “Height Can Shrink” behavior in a layer-based layout.

This Action works on either a drawn layer-based object or an inline object, and allows tables to flex in either dimension to fit their contents.

You may also optionally override the height or width of the item to 100%, but this may produce unpredictable results, so extensive browser testing is encouraged.

11 Comments

This action doesn't work any more on tables - any chance of getting it fixed?

Thanks for the nudge, I hadn't looked at that Action in over 4 years. It should be working for you now.

Hi Walter! Thanks for looking at this. It still has a couple of issues though. <th> styles are unaffected (although <td>s are), and the 'force 100%' options don't alter the <table> styles.

Sorry, I put tags in my post and they messed it up a bit. amended post: Thanks for looking at this. It still has a couple of issues though. The TH styles are unaffected (although TDs are), and the ‘force 100%’ options don’t alter the TABLE styles.

I just checked this, and I added TH to the tags it searches for. But I wasn't able to duplicate your issue with table not being properly affected. It is critical that you apply the Action to the entire table, not an individual cell, though. Even though it sorta works that way, the result is that the table has its height/width removed, and no other style added.

Hi Walter! My apologies: although I'd installed the new version and created a new document, FW was still using v3.0. I've manually updated it now, and it seems to work fine now - except that placing the action on one table makes it run on all sibling tables, which, whilst in this instance is OK, isn't quite the right behaviour. I have test files available.

Are these tables inline elements or drawn on the page elements? If the latter, what color is their border in the Freeway design view: green or blue?

Inline elements, green borders.

Could you contact me directly through http://walterdavisstudio.com so I can send you a sample document?

It worked fine even when I applied an HTML border via the Inspector. But won't shrink the height when you apply any Graphic Effects (including Graphic Border) to the HTML box via the Inspector. I confirmed this with 0.4.2. Would it be possible to work around this problem? My aim is to get my curved corner HTML boxes to shrink in height with the text inside.

They should do anyway, just disable the height on the box using the Inspector. Click on the up/down arrow icon left of the Height field there, and the content should drive the height of the box – including the inline table generated by the Graphic Effects setting. You can also use the CSS3 Corners Action to round the corners with pure CSS, no graphics or inline tables required!

Sign In or Sign Up to comment.