Main Menu

BOLD style

Started by Benahmed Abdelkrim, August 12, 2017, 03:33:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

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
B.A/krim

Volker Dirr

#1
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.

Benahmed Abdelkrim

Thank you very much Mr Volker it works very well!

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

Thanks again  :)
B.A/krim

yahi

thanks a lot for the useful explanations