Can't apply a background to a table in new version

Can't apply a background to a table in new version

by Peter Winhall -
Number of replies: 3

We have recently had version 1.8.4+ (2007021540) installed and I can no longer apply a background image inside a table.

Within the table properties window I have entered the 'Image URL' and it initially displays the background in the editor window but then when I click save changes it just displays a white background.

I have gone back into the editor and the Image URL is still there!

Is this a known bug?

Average of ratings: -
In reply to Peter Winhall

Re: Can't apply a background to a table in new version

by Mauno Korpelainen -

No - there must be something wrong in the URL itself or the location of the image. Is the background image placed to course files of the same course / site files / somewhere else? Try to change Use slash arguments setting from Administration -> Server ->HTTP. For example

<table cellspacing="1" cellpadding="1" width="150" background="http://moodle.org/theme/moodleorange/topbar.gif" border="1"><tbody>
  <tr>
    <td valign="top" width="75">test
    </td>
    <td valign="top" width="75">
    </td>
  </tr>
  <tr>
    <td valign="top" width="75">
    </td>
    <td valign="top" width="75">test
    </td>
  </tr></tbody>
</table>

shows a table like this:

test
test
In reply to Mauno Korpelainen

Re: Can't apply a background to a table in new version

by Peter Winhall -

Thanks for your reply.

I have just tried setting the background of a table to http://moodle.org/theme/moodleorange/topbar.gif and it works! The URL I am trying to link to is in a directory on the same course http://(website)/file.php/87/icons/2.jpg

I have looked at the settings and use slash arguments is ticked. I am worried it mess up the site at all if I untick it?