Justin Cooney

Web Development Tips and Examples

Category: CSS3

  • There are a number of ways to generate and display hierarchical data in a visually appealing tree-like structure. The best way, of course, is to not have to rely on external libraries, and to deal with pure markup.

  • In case the title of this article is confusing, what I’m trying to show is how to use CSS to change only the style of a particular column of an HTML table… so, for example, how to center-align the contents of the second table column.

  • The requirements I will describe in this article are to have JavaScript format user-input numbers as traditional currency. This means to show two decimal places (with or without automatic rounding), commas as thousands separators, and with or without a preceding currency symbol like: $ 12,345.67 or without the currency sign as: 12,345.67