Hi there,
In CSS, you can simply use centimeters for dimensions like width and height. For example:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>CSS Box</title>
<style type="text/css">
#MyBox
{
width: 6cm;
height: 2cm;
border: 1px solid black;
}
</style>
</head>
<body>
<p id="MyBox">Hi, I am a bordered box.</p>
</body>
</html>
When you print this, you'll get a box with a black border. The box will be exactly 6 by 2 centimeters....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.