[Xerte] Re: Table formatting
Smith, John
J.J.Smith at gcu.ac.uk
Thu Sep 4 11:23:26 BST 2014
Here's an example Fred.
http://xerte.smitcher.com/play.php?template_id=22
Regards,
John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fred Riley [Fred.Riley at bcu.ac.uk]
Sent: 03 September 2014 19:25
To: Xerte discussion list
Subject: [Xerte] Table formatting
I've got a strong feeling that I know the answer to this question, but I thought I'd ask just in case. Is there a way in Xerte of presenting formatted <div> or <table> elements in a page?
I know that there is a Charts | Table page type, and you can specify alternately coloured rows. What I'm looking for is to be able to specify the exact RGB for a row background, eg:
<table>
<tr>
<td width="20%" style="background-color: #BFBFBF;"><b>Element</b></td>
<td width="80%" style="background-color: #BFBFBF;"><b>Present how and when</b></td>
</tr>
<!-- various other rows -->
</table>
There is a particular reason for this, in that the colours come from a 'fire triangle' diagram (such as http://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Fire_triangle.svg/1175px-Fire_triangle.svg.png) so text references to heat/fuel/oxygen need to be in consistent colours.
I know that there's a limited subset of HTML tags usable in a Xerte page, which doesn't include <table> or <div>. I suspect that I'd need to draw the table in a graphics editor and import it, but a minor disadvantage of that is that any future edits would require access to the image source file and expertise in a bitmap/vector editor.
Fred
www.fredriley.org.uk
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Glasgow Caledonian University is a registered Scottish charity, number SC021474
More information about the Xerte
mailing list