Project

General

Profile

Actions

Feature #14808

closed

dynamic CSS would be nice...

Added by jholzmann no-lastname-given over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-06-09
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

<strong>Improvement suggestion</strong>

... if it were possible to set them up as COA. But it does not work. Why is this useful? Imagine the situation:

Very often the correct visualisation for various browsers depends only on a single line of CSS.
You could spare many various stylesheets (100ds lines of code ++) if it would be possible to substitute this single line by setting up CSS (I mean inline CSS => exported to external stylesheet by config.) it will save lotsa trouble.

Logically it should have to work. But it does not.

Code example:

mycss=COA
mycss.10=TEXT
mycss.10.value(
body{background-color:#FF0000;}
)
mycss.20 = TEXT
mycss.10.value(
td{font-size:300%;}
)

safaristyle= TEXT
safaristyle.value(
td{font-size:299%;}
)

[browser=safari] // BTW this is missing, too! ;)
mycss.20 < safaristyle
[global]

page.CSS_inlineStyle < mycss

bye, Jan

(issue imported from #M1185)

Actions

Also available in: Atom PDF