CSS Units
Measurements
| Unit |
Description |
| % |
percentage |
| in |
inch |
| cm |
centimeter |
| mm |
millimeter |
| em |
1em is equal to the current font size. 2em means 2 times
the size of the current font. E.g., if an element is displayed with a font
of 12 pt, then '2em' is 24 pt. The 'em' is a very useful unit in CSS, since
it can adapt automatically to the font that the reader uses |
| ex |
one ex is the x-height of a font (x-height is usually
about half the font-size) |
| pt |
point (1 pt is the same as 1/72 inch) |
| pc |
pica (1 pc is the same as 12 points) |
| px |
pixels (a dot on the computer screen) |
Colors
| Unit |
Description |
| color_name |
A color name (e.g. red) |
| rgb(x,x,x) |
An RGB value (e.g. rgb(255,0,0)) |
| rgb(x%, x%, x%) |
An RGB percentage value (e.g. rgb(100%,0%,0%)) |
| #rrggbb |
A HEX number (e.g. #ff0000) |

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data.
Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions.
Download a free, fully functional 30-day trial to experience the following features:
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
Download a fully-functional trial today!
|
|
|
|