View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04088Bug reportsTheme editorpublic2010-02-10 10:10
Reporterericbont Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.87+ 
Summary04088: doesn't show bullets - template bug?
Description

When I use bullets in a questiontext you can't see theme in the survey. The bullets doesn't work in any template - except in the default template.

I added ul {list-style-type:disc;} in all template.css files but still it doesn't work.

TagsNo tags attached.
Attached Files
pisurvey.rar (411,960 bytes)
Question_Editor.png (15,977 bytes)   
Question_Editor.png (15,977 bytes)   
Question_live.png (3,818 bytes)   
Question_live.png (3,818 bytes)   
list_styles_tpartner.gif (4,261 bytes)   
list_styles_tpartner.gif (4,261 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)1.87
I will donate to the project if issue is resolved
Browser
Database type & versionMysql
Server OS (if known)LAMP
Webserver software & version (if known)LAMP
PHP VersionLatest
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2010-02-04 03:33

  ~10964

Please attach a screenshot and upload your template - Thx!

ericbont

ericbont

2010-02-04 21:15

reporter   ~10973

Hi, I added the template, the .csv and screendump.jpg

user372

2010-02-06 16:21

  ~10996

I can reproduce the issue (tested with the bluengrey-template) - I attached my simple sample survey and screenshot ==> the bullets show up at the question editor, but not at the live survey.

tpartner

tpartner

2010-02-07 14:20

partner   ~11010

This is not a bug.

The styles "list-style-type:none" and "text-indent:-1.7em" are applied to the list items of many question types so the answer options lay out properly.

These styles can be overridden by inserting new styles into template.css. The new style must have a selector that is least as specific and/or the style is placed further down the cascade.

For example, placing the following at the end of bluengrey/template.css will yield the result shown in my screenshot (list_styles_tpartner.gif).

#question493 ul li {
list-style: disc;
text-indent: 0;
}

It is important to note that what you see in the editor is not exactly what you get. The editor doesn't know exactly what styles will be applied in the final output. Maybe it should be called a WYSIAWYG (what you see is almost what you get) editor.

Issue History

Date Modified Username Field Change
2010-02-03 13:15 ericbont New Issue
2010-02-03 13:15 ericbont Status new => assigned
2010-02-03 13:15 ericbont Assigned To => user372
2010-02-03 13:15 ericbont LimeSurvey build number => 1.87
2010-02-03 13:15 ericbont Database & DB-Version => Mysql
2010-02-03 13:15 ericbont Operating System (Server) => LAMP
2010-02-03 13:15 ericbont Webserver => LAMP
2010-02-03 13:15 ericbont PHP Version => Latest
2010-02-04 03:33 user372 Note Added: 10964
2010-02-04 03:35 user372 Status assigned => feedback
2010-02-04 21:14 ericbont File Added: pisurvey.rar
2010-02-04 21:15 ericbont Note Added: 10973
2010-02-06 16:21 user372 Note Added: 10996
2010-02-06 16:21 user372 File Added: limesurvey_survey_55387.csv
2010-02-06 16:21 user372 File Added: Question_Editor.png
2010-02-06 16:21 user372 File Added: Question_live.png
2010-02-06 16:22 user372 Status feedback => assigned
2010-02-06 16:22 user372 Assigned To user372 => tpartner
2010-02-07 14:19 tpartner File Added: list_styles_tpartner.gif
2010-02-07 14:20 tpartner Note Added: 11010
2010-02-07 14:20 tpartner Status assigned => resolved
2010-02-07 14:20 tpartner Resolution open => fixed
2010-02-10 10:10 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor