Learning path › Lesson 4

Borders and rounded corners

Goal: choose the border of the table and of the cells: colour, width, style and rounded corners. This gives your table a style of its own.

▶ Open this example

Price list of an ice cream parlour with a brown, rounded border
The price list of an ice cream parlour: a thick brown border with rounded corners, and dotted lines between the prices.

Two kinds of borders

Good to know: the border around the table and the rounded corners are best seen in the test browser. Click Click here for extra functions at the bottom and then Open test browser.

Make it yourself

  1. Make a table of 4 columns and 6 rows. Merge the cells of the top row (see lesson 3) and type the name of the ice cream parlour.
  2. Fill in the kinds (cone, cup, waffle) and the prices, and format the header as in lesson 2.
  3. On the Table tab choose dark brown for Table border colour and set Table border width to 3.
  4. Set Table border radius to 14: the corners of the table become round.
  5. Select the cells with the kinds and prices (drag over them) and on the Cell tab choose dotted for Cell border style.
  6. Look at the result in the test browser.

A border that fits

A border helps to read the table, but too many lines make it look busy. Use a thick border around the table and thin or light lines inside. Choose a border colour that matches the colour of the header.

Exercise

Give the table a double border instead of a solid one. Then set Cell corner radius to 6 and see in the test browser what changes.

Solution

On the Table tab choose double for Table border style. A double border needs some width: leave Table border width at 3 or more. With Cell corner radius every cell gets its own round corners, so the cells look like little buttons.

Working on Linux? Then open the example yourself with Open table designer: folder lessen/en, file les04-prijslijst.htd.