Text align in table problem

Text align in table problem

โดย Petr Kalis -
Number of replies: 5
Hi
I encountered some problems with HTML editor(and labels, oldie, but still goldiewink) after upgrading to 1.5.2 version of Moodle. Today I got another one.
Pictures are worth millions word, so:
This show me HTML editor in normal mode
Label in HTML editor
Thats what we all want.
But on course front page it is looking like this:
On front page
Here is code:
<table border="2" cellpadding="3">
<tbody>
<tr>
<td><img src="pathtopicture"alt=" "><br>
</td>
<td><a target="_new" href="pathtopage"><font color="#3300ff" size="6">NÁVOD </font></a></td>
</tr>
</tbody>
</table>

I tried this source code in standalone page, it worked good, used NVU to create similar table and put it through HTML editor to Moodle, but it doesnt work either.
Got anyone idea how to solve this, or why is this happening only in new (1.5.2) version. HTML editor is great tool, but with Labels it smells little bit fishysad.
Thanks for suggestions.
Petr
การประเมินโดยเฉลี่ย: -
In reply to Petr Kalis

Re: Text align in table problem

โดย Janne Mikkonen -
Here is what I've got! I'm not so sure that this is editor problem? Does you html code change (tags missing) when you add the code you provided in HTML editor, and switch it back and forth between wysiwyg -mode and textmode?

wrong.png
NÁVOD
การประเมินโดยเฉลี่ย: -
In reply to Janne Mikkonen

Re: Text align in table problem

โดย Petr Kalis -
I got this problem in Labels, in forums or on created web pages its working good. So I forgot to point out, that its maybe problem with HTML editor AND Labels, or Labels alone.

การประเมินโดยเฉลี่ย: -
In reply to Janne Mikkonen

Re: Text align in table problem

โดย Petr Kalis -
I tried another editor, but in labels its the same. So it is not HTML editor problem definetely. Its Labels problem, maybe bug. I will move it to general discussion. Sorry Janne for unjustly accused your editorsad.
There is no code change, it is just problem with presenting this on course's main page.
การประเมินโดยเฉลี่ย: -
In reply to Petr Kalis

Different presentation tables in Firefox and IExplorer - same problem

โดย Frans-Pieter Vonck -
Hey Petr,

I think I have the same kind of problem with the html editor
I put the same table-code in both the source editor of Internet Explorer and Firefox - with different results.
The Code 
<TABLE BORDER=2>
<TR> <TD>Raha Mutisya</TD> <TD>1493</TD> </TR>
<TR> <TD>Shalom Buraka</TD> <TD>3829</TD> </TR>
<TR> <TD>Hallie Curry</TD> <TD>8372</TD> </TR>
<TR> <TD>Shari Silberglitt</TD> <TD>4827</TD> </TR>
</TABLE>
This the table represented by Internet Explorer
table explorer
with code, worked by the html code editor in Internet Explorer
text ieplorer
 
This is the (correctly) presented table in Firefox
table firefox
with the matching html code in the editor in Firefox
code firefox

Anyone an explanation or even a solution ?

Greetz and Moodz
Frans-Pieter Vonck
การประเมินโดยเฉลี่ย: -
In reply to Frans-Pieter Vonck

Re: Different presentation Firefox and IExplorer similar problem

โดย Can Tunalı -
Hi,

When I have a bulleted list it's presented differently in Firefox (appropriate) and Internet Explorer (everything justified centered).

Do you have a solution ?


Greetings,
Can.
การประเมินโดยเฉลี่ย: -