In 'Updating a Quiz, how to edit tables'

In 'Updating a Quiz, how to edit tables'

by marc spencer -
Number of replies: 1

Hi Everyone,


I am new in moodle, While in "Description" box of "Updating a Quiz" page, I am trying to do the following:

  • Wrap text around the table,
  • Beautify the table by creating borders, etc.

The following two pix shows the table in 'viewing' and 'editing' modes.

Your help is appreciated.


Regards,

Mark

Average of ratings: -
In reply to marc spencer

Re: In 'Updating a Quiz, how to edit tables'

by Martin Greenaway -

I can't see the pictures - did you attach them?  

However, I can say that there are two ways you would be able to style the table - 

  1. Inline CSS - apply the styles to the table HTML code as you edit it in the description, and this styling information will be applied when the table is rendered.
  2. CSS in the theme's general settings page (Site administration --> Appearance --> Themes --> (Your theme) --> General) - you would need to give your table an ID in the HTML code and use this when defining your CSS selectors in order to be sure that you don't affect the styling on other tables throughout the site.
Average of ratings: Useful (1)