Coloured Form Item Information

This suite of Freeway Actions, written by Paul Dunning, allows you to have coloured form items on a page. It uses Cascading Style Sheets (CSS) so you may find that early browsers will ignore the CSS attributes. As ever, when designing a page, it's a good idea to check in an earlier browser so that you know what the techno-luddites web-pages will look like.

To use:

  1. Select the Form Action that you want from the popup menu on the tools palette.


     
  2. Select the action
  3. Set the parameters in the Actions palette.

You set the colours using the HTML hex #rrggbb convention (you don't need the # though).

NOTE: If you want to get the hex colours you can do this very easily in freeway by choosing the show-hex option from the pop-out menu in the Styles palette.

You can then very quickly read the hex values of any color

The actions have the following parameters:

Back - Background color

ForeDG - the font (or foreground) color

Style - the font style (normal, bold, etc.)

Size - the size in points (no need to put 'pt' at the end of the number the action does this for you)

Font - the font you want to use (i.e. verdana). If you want to specify alternative fonts, separate with a comma

The UseBack, UseFore, UseFont drop-downs activate each element in the action.

NOTE: A word of warning - your form elements will change size as you change the font and size of the font. It may mess with your layout! Non-CSS browsers will ignore the CSS attributes.