Check out the LimeSurvey source code on GitHub!

Bug IE7 : white spaces randomly appear

More
5 years 10 months ago #58010 by njut
Hello,

I use Limesurvey to realise a big survey, so i used a lot of CSS and JQuery to modify the survey appearance.

On a page, i have something like 150 questions. I have conditions on approximately 30 questions, so 30 question can be turned to visible, depending on other answers.

On IE7, in some cases (like 15 questions turned visible) I have mysterious white spaces that appear randomly on my page, breaking the structure of the page. The weird thing is that the DOM is not corrupted, it looks like a graphical bug of IE7.

It works fine on FF,Chrome and IE8.

Is there any one who encountered the same issue and solved it?

I really need help about that, thank you.

Please Log in to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #58024 by DenisChenu
:( IE7 ....

It's your own template ?
If yes, can tou copy/paste the question.pstpl code ?

If not, can you have a look at the question source (in LS admin page) for some disgracious span/font. (best thing is to deactivate the HTML editor temporaly in your personal parameter )

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 5 years 10 months ago by DenisChenu.

Please Log in to join the conversation.

More
5 years 10 months ago #58037 by njut
Hi, thank's for the fast answer.

I modified a little the standard template to put label and input on the same line for each questions.

So their is my question.pstpl code :
<div {QUESTION_ESSENTIALS} class="questionblock" >
					<div class="demiline-left">
						<span class="label">{QUESTION_MANDATORY}</span>{QUESTION_TEXT}<br />
						<span class="questionhelp">{QUESTION_HELP}</span>
						{QUESTION_MAN_MESSAGE}
						{QUESTION_VALID_MESSAGE}
					</div>
 
	                                <!--<div><font size="-1"><i>{QUESTIONHELPPLAINTEXT}</i></font></div>-->
					<div class="demiline-right">{ANSWER}</div>
					<div class="helpLabel">{QUESTIONHELP}</div>
 
</div>

I don't think that the problem comes from the template.

When I select a value in a select box, 30 questions appears. And then the white spaces appears too, but not only between the select box and the 30 questions.

It can appear before the select box, like 3 question before and destruct an other select box (one time I had the value of an other select box out of the select box, after a big white space. This select box didn't have any link with the first one).

It seems to crash randomly the page when a certain number of question (15-20), initially hidden, become visible. But if i look at the DOM with IE's developpement tool, I can see the normal DOM, without any problem.

I don't understand where that is come from :s

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form