Android, HTML, HTML5, Programming, Various Languages, Web Development

Android and iOS: Setting Default Web Page Zoom Level and Stopping Form Field Zoom on Focus

If you are developing a Web form for clean viewing on Android and iOS devices, then you’ll likely end up wanting to handle the zoom level at which your page initially loads, as well as possibly disabling distracting auto-zooms from happening if the user focuses on a form field element. Obviously in small forms this isn’t much of an issue, but in larger more functional forms, this can cause frustration and user confusion. Continue reading “Android and iOS: Setting Default Web Page Zoom Level and Stopping Form Field Zoom on Focus”

Advertisements
CSS3, HTML, HTML5, Programming

Using CSS to Style Table Columns by Numeric Position

CSS Table Styling
CSS Table Styling

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.

Continue reading “Using CSS to Style Table Columns by Numeric Position”

CSS3, HTML, HTML5, JavaScript, JQuery, Programming

JavaScript: Outputting a Number in Traditional Currency Format

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

Continue reading “JavaScript: Outputting a Number in Traditional Currency Format”