- From: <Slalomsk8er@solnet.ch>
- Date: Mon, 06 Dec 2004 13:03:00 +0100
- To: www-style@w3.org
Hallo, I miss some things in CSS. For example: Some constants and variables, like window content size. Calculations, some thing like width: 1% + 18px; Conditions, like if it has a border of 2px. /* This code would make the class foo half of the page size if it has a border or not */ .foo { if (.foo.border-width) { width: view-width / 2 - .foo.border-width * 2; } width: view-width / 2; } IMHO this will make me use the ugly hacks just for older Browsers, especially the calculations would make the workflow much faster. What do you people think of this? Thanks, Dominik Riva
Received on Monday, 6 December 2004 12:58:05 UTC