a little new option for html/css

Started by Massimo Mancini, September 13, 2009, 03:44:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Massimo Mancini

GOAL: to have html timetable with fixed size column
FILE AFFECTED: ./timetables/fet_name_stylesheet.css
TARGET: td.empty {} and td.notAvailable {}

REQUEST: complete the style above with   min-width: NNpx where NN is a new html option  (a 0 value stay for *not such property* in css)

In my case I obtain a good result with

td.empty {
 border-color:silver;
 border-right-style:none;
 border-bottom-style:none;
 border-left-style:dotted;
 border-top-style:dotted;
 min-width: 70px;
}

td.notAvailable {
 border-color:silver;
 border-right-style:none;
 border-bottom-style:none;
 border-left-style:dotted;
 border-top-style:dotted;
 min-width: 70px;
}

the problem is, of course, the rewrite of stilesheet for each generation

Volker Dirr

i fear there will be to many request like this and it will be pretty much work and a pretty great dialoge if all css values are selectable in FET.
for example i always hide the activity tags. so that is also "needed" in FET settings.

of course you are right, it must be done after generating a timetable but one the other hand you just need to do it if you want to release the timetable. So you need it max one or maybe 2 times a year.

What do other guys think about this request/problem?

Volker Dirr

by the way:
why don't you just style all cells at once by this:
th.xAxis {
/*width: 8em; */
}

Massimo Mancini

#3
Quoteby the way:
why don't you just style all cells at once by this:
th.xAxis {
/*width: 8em; */
}

Because my knowledge of css is very poor  :-(
Your suggestion fit my needs! Thanks Volker