Any help you can offer in deducting the exact cause for specific instances would be helpful.
Behaviour may change in different browsers, different font sizes, different window sizes, different weather outside ... sigh.
Anthony,
I can confirm this - erratic - behavior (in FireFox 2.0). Somethimes the little icons will be sitting next to the question name, sometimes they will jump to the right. Usually a screen refresh (press F5) will restore them into place.
In MSIE 7.0, on the other hand, the icons consistently sit aligned to the right.
I am surprised that Martin D. should say "I would suspect it's related to the switch in 1.8 to using less tables for layout and more CSS instead" because actually this problem happens right in the middle of... a table.
<td>animal MCQ06</td>
<td align="center">
<a href="..." title="multichoice"><img src=".../icon.gif" alt="Multiple Choice" title="Multiple Choice"></a>
</td>
Hi Tim and Joseph,
and thanks for a lesson...I have learned to use that ; but you are right - it is not necessary. I was testing this and it is really strange. I searched all kinds of Firefox bugs and first thought that this would be related to http://www.inthemaze.net/blog/index.php?2005/08/26/18-horizontal-alignment-block-cross-browser
but could not make it to work anyway. Then I found out that there is also an other strange behaviour in moodle 1.8. When I tried to change default language of my site and also changed default language from my profile to english it does not work. If I do it with lang menu language changes to english. The problem is that if I have language cache on or off the situation is the same and in database I have default language ENGLISH. So I started to think if this has something to do with faulty cache...
There is also a problem with tabs in glossary: if translation of terms has long words like in finnish language tabs won't fit to one row and overlap. Font of Standard theme is quite big so there is a bigger risk for overlapping, Formal White theme has more space for finnish language and other "risky languages"
Setup: xampp on Windows XP :Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4. IE 7/Firefox 2.0*
*Behavior is most pronounced on Firefox. On IE 7 the buttons start out AND stay put (centered) but the ajax.gif still makes everything bounce down while it is visible.
Greg.
I checked this with Firefox and the reason seems to be that there are four tags with
style="width:100%" or style="width:50%"
when there should be style="width:100%;" or style="width:50%;"
in mod/quiz/edit.php
This one missing ; causes those caps because firefox does not get correct width.
If you press Reload something strange might happen too...
In CSS, a semicolon is used to separate each declaration from the next. The ending declaration does not require a semicolon. It is of course good practise to have one there just in case you need to add one more declaration later on, but its absence cannot do any harm.
Joseph
The problem is that the table is inside a <fieldset class="invisiblefieldset">, and invisiblefieldset is set to be display: inline;.
I have fixed this on the quiz editing page by the ugly expedient of changing the HTML to <fieldset class="invisiblefieldset" style="display: block;">.