GNOME Bugzilla – Bug 332748
HTML Report Rendering Incorrectly in IE
Last modified: 2006-12-15 01:53:54 UTC
Please describe the problem: When you view the exported HTML doc of the project, the GANTT chart bars are not aligned correctly with the tasks list on the left. This looks fine in Firefox browser but doesn't display correctly in IE. Steps to reproduce: 1. Create a task that is 30d's long 2. Create Another that is 2d's long 3. Link both tasks so that one follows the other 4. Create the HTML report (File->Export->HTML) 5. View the report in IE (I've checked this in IE6) Actual results: The height of the GANTT chart bars are larger than the task list bars. This cause the alignement of the bar-task to get worse as tasks are added. Expected results: If you view the same html document in Firefox you can see that it doesnt suffer from the same problem. Does this happen every time? Yes Other information:
Duplicate of bug 154572?
It is not bug 154572. The problem is the row height for the ganttbars. This can be solved bij changing by changing a XLS file, in the planner program directory, the file share\planner\stylesheets\html1_css.xls, change div.gantt-empty-begin, div.gantt-empty-end, div.gantt-complete-done, div.gantt-complete-notdone, div.gantt-summary { clear: none; float: left; height: 0.75em; margin-top: 0.15em; margin-bottom: 0; } into div.gantt-empty-begin, div.gantt-empty-end, div.gantt-complete-done, div.gantt-complete-notdone, div.gantt-summary { overflow: hidden; clear: none; float: left; height: 0.75em; margin-top: 0.15em; margin-bottom: 0; } Not heavely tested, but seems to be ok now in IE 6.0 (and Firefox). Nico de Groot
tested this and looks like it works. Committed the change - thanks for the patch!