Greetings,
I have a little odd situation on my live website that I don't find on my localhost version of Moodle.
All blocks that lists content (Main Menu, Administration, Courses) align differently the content wether it's odd-numbered or not. For the odd-numbered content, there's a king of tabulation.
Anyone has an idea of the origin of this and a means to correct it?
Here's my Administration block.
Thanks
Bonjour Jean-Nicolas,
Which Moodle version are you using? Which theme? As distributed with Moodle or customized? Do you have the same problem in Mozilla and MSIE browsers? Have you tried to dump the HTML source to check for any difference between the odd and even lines displayed in your admin block? Have you used the various tools often mentioned on this forum for getting information about the CSS of a displayed page, which I am listing here:
- for Mozilla FireFox I strongly recommend the Web Developer extension, I use it all the time
- and the View Rendered Source Chart
- for any browser, you can use the Chameleon site
- or the greasemonkey extension
Joseph
Good day Joseph,
I found my problem and for the benefit of all here's my solution.
Actually, it's quite obvious.
Well, I use 1.5.3+ Moodle with a customized theme. My problem was visible using Firefox or MSIE browsers.
You'll find that listed blocks have two CSS class: .r0 and .r1 All odd lines have the .r0 class while the even lines have the .r1 class.
My problem was that .r0 had align:"center" while the other didn't. I've set align:"left" to both of the classes.
Resolved.