|Simple web-related functions (2)|
We will here show another simple function.
The definition of the indent-pixel function. This is a function which we use in many web documents to indent the contents a number of pixels relative to its context. Here we implement the indentation by use of a table, in which the first column cell is empty. As we will se, other possibilities exist.
This version uses Cascading Style Sheets expressiveness. As it appears, this is a more compact, and more direct way of achieving our indentation goal.
Notice the use of the XHTML mirror.