[Xerte-dev] Re: problem with Interactivy matched text

Fay Cross Fay.Cross at nottingham.ac.uk
Thu Apr 23 13:35:19 BST 2015


The <p> tags is something that I wanted to look at before the new release. It's the new editor that's putting them in, which fine, but I've noticed other pages too where having them there messes up the layout (even when there aren't unnecessary ones).  I was thinking of adding some css which would do something like remove the top-margin from the first and bottom-margin from the last <p> tags in each section.

In Katrien's example there are loads of unnecessary <br> & <div> tags on the labels though - are these because of the new editor?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 23 April 2015 13:08
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: problem with Interactivy matched text

Have tested this now and confirmed it's not due to the chosen theme.

It seems the height of the rows is determined by the greatest height of the part 1 or part 2 sentences. e.g. if any of your sentences have multiple lines of text or contain images which make the height larger than a single line of text then all the target heights increase to accommodate the height of the largest box. I guess all the targets/rows need to be the same height otherwise it would be easy to see what goes where just by the different heights of each target.

In the example Katrien has provided it looks like there are unecessary <p></p> tags increasing the height of the largest box and also in the instruction there's <p></p> tags and an image causing the draggable labels to begin lower down the page than would be the case with just a single line instruction.

I wonder whether the collapsible instruction feature Fay has implemented in the media lesson page type might be an addition to improve this?

HTH
Ron


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list