Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform CSS.
You can use CSS to manipulate the layout and styles of entries and content in any of the Dataform views. Any html element in the designated view, that has an id or a CSS class can be assigned specialized styles by including the style definitions in the CSS tab.
The Dataform allows you to add CSS in the CSS tab in three ways:
- Include external CSS - You can specify a list of urls to external CSS files and these files will be loaded to the Dataform view page.
- CSS code - You can enter CSS definitions directly.
- Upload CSS files - You can upload CSS files into the Dataform files area in Moodle's file system. These files become part of the Dataform instance to which they are uploaded and are included in Dataform presets and backups.