quiz editing: MDL-17396 Quiz tab icons broken in IE

Well, that was a stunningly creating IE layout bug, and I have no idea why this work-around works. (The margin 0 and vertical-align are the essentail bits, the other two rules just make it look nicer.)

Also tweaked the layout in Firefox to position the icons a bit more nicely.
This commit is contained in:
tjhunt 2008-11-26 04:03:45 +00:00
parent e4fb7c6372
commit cc2c4572b1
3 changed files with 14 additions and 3 deletions

View file

@ -78,10 +78,12 @@ form.mform textarea {
/*ie6 shows this as an arrow if this is not specified*/ /*ie6 shows this as an arrow if this is not specified*/
cursor: pointer; cursor: pointer;
} }
#mod-quiz-edit div.tabtree a span img.iconsmall{ .mod-quiz div.tabtree a span img.iconsmall {
display:none; margin: 0;
vertical-align: baseline;
position: relative;
top: 1px;
} }
#mod-quiz-edit div.question div.content .questiontext,#categoryquestions .questiontext{ #mod-quiz-edit div.question div.content .questiontext,#categoryquestions .questiontext{
width:50%; width:50%;
} }

View file

@ -59,3 +59,9 @@ form.mform .fcheckbox input {
#mod-quiz-review #middle-column { #mod-quiz-review #middle-column {
height: 1%; height: 1%;
} }
.mod-quiz div.tabtree a span img.iconsmall {
margin: 0;
vertical-align: baseline;
position: relative;
top: 2px;
}

View file

@ -4411,6 +4411,9 @@ table.quizreviewsummary td.cell {
display: block; display: block;
margin: 0.5em 0; margin: 0.5em 0;
} }
.mod-quiz div.tabtree a span img.iconsmall {
vertical-align: baseline;
}
#mod-quiz-edit div.sideblock{ #mod-quiz-edit div.sideblock{
float:right; float:right;
width:30%; width:30%;