FET Forum

FET Tools => TiTiTo - Tiny Timetabling Tool => Topic started by: Benahmed Abdelkrim on August 12, 2017, 03:33:06 PM

Title: BOLD style
Post by: Benahmed Abdelkrim on August 12, 2017, 03:33:06 PM
It is sometimes useful to write the cells of some subjects in BOLD style; Here is the code injected to realize this fact:

<td>input type="text" size="25" style="font-weight:bold;"</td>

I attach below the HTML file and a screenshot.

thanks in advance
Title: Re: BOLD style
Post by: Volker Dirr on August 12, 2017, 04:47:57 PM
It is better if you do that by the css file, not by editing the html file.

If you want to change only the subject name into bold font, then you need to export the timetable at least with html level 4.
Then open the css file and search lines like:
span.s_4 { /* subject M */

}


Modify it into this:
span.s_4 { /* subject M */
  font-weight:bold;
}


(Save the css file and reload/reopen the html file.)

If you want to change the style of the whole cell (like in your example), then you need to export the timetable at least with html level 6.
Open the css file and seach lines like this:
td.s_4 { /* subject M */

}


So this time the "td", not the "span".
Modify it the same way.
Title: Re: BOLD style
Post by: Benahmed Abdelkrim on August 12, 2017, 05:07:23 PM
Thank you very much Mr Volker it works very well!

I must confess that your advice is better than my proposal.

Thanks again  :)
Title: Re: BOLD style
Post by: yahi on August 12, 2017, 09:43:10 PM
thanks a lot for the useful explanations