[Xerte] Re: Table formatting

Fred Riley Fred.Riley at bcu.ac.uk
Thu Sep 4 10:45:58 BST 2014


Ah, sorry, I should have said XOT. My understanding, and experience, of XOT is that the only HTML tags you can use in text pages are: <b>, <i>, <u>, <font> (!), <li>, <span>. This is also what a reply to a XOT list thread (http://lists.nottingham.ac.uk/pipermail/xerte/2012-May/013689.html
) from 2 years ago states. If there's a way of adding "all sorts of html and css" then I'm all ears.

Cheers

Fred


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 September 2014 19:42
To: 'Xerte discussion list'
Subject: [Xerte] Re: Table formatting

Are you talking about desktop Xerte rather than XOT? If XOT 2.1 and you don't need to maintain Flash playback then you can add all sorts of html and css.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fred Riley
Sent: 03 September 2014 19:26
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<http://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.



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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140904/14974d41/attachment-0001.html>


More information about the Xerte mailing list