This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Gap fills and c-tests

Plus d'informations
il y a 3 ans 7 mois #8425 par simonbarne
Gap fills and c-tests a été créé par simonbarne
C-tests are a kind of cloze test, where the second half of some words is omitted and has to be entered by the student. See this example:



Xerte gap fills can be used if you make the input text left-aligned but sometimes the first part of the word is on one line and the input box is on the next line (underlined in red in my example).

Is there any way of keeping the two together? I looked into CSS solutions like
Code:
white-space: nowrap;
but can't find anything suitable.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #8426 par Fay
Réponse de Fay sur le sujet Gap fills and c-tests
Hi Simon

It's a bit fiddly but you can do this by surrounding each word with a div tag and making them inline-blocks (you will need to view the source and make the edits there)

<div style="display:inline-block">pl|ants|</div>
Les utilisateur(s) suivant ont remercié: simonbarne

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #8428 par simonbarne
Réponse de simonbarne sur le sujet Gap fills and c-tests
Thank you very much for the suggestion, but ideally teachers would be able to make these tests after a little training, so the process needs to be as straightforward as possible!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #8429 par simonbarne
Réponse de simonbarne sur le sujet Gap fills and c-tests
I think I've found a partial solution:
Code:
#targetHolder { white-space: nowrap; } .staticTxt { white-space: normal; }



The input boxes do get truncated somewhat by the right-hand border though.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.184 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo