Загварын хэлэлцүүлэг:Format columns
Latest comment: 16 жилийн өмнө by Latebird in topic Styling problems
Styling problems
засварлахFor some reason, data_style and data_odd_style doesnt seem to work. I've used data_1_style etc. instead... --Чинээ (яриа) 14:48, 4 Аравдугаар сар 2008 (UTC)
- There was a typo preventing data_odd_style from working, it's fixed now. Data_style applies to the entire row (<tr>), instead of the individual cells (<td>) within it. That makes it useful for setting a common background, or a border around all of the row. Should I change this or do we need a seperate data_all_style for influencing all <td>s? Actually, {{Format rows}} uses the first approeach (necessarily so, because HTML/CSS offer no way of formatting an entire colum as one item), so we probably should do the same here for consistency. --Latebird (яриа) 16:36, 4 Аравдугаар сар 2008 (UTC)