Custom HTML pages are able to incorporate custom CSS and can re-use existing CSS class names to align the look and feel with the rest of your CONTENTdm website. The example page below uses CSS classes to generate a button that is styled like other buttons in CONTENTdm:
In this example, there is some inline CSS and there are class names in the HTML that correspond to built-in CONTENTdm class names. There are also custom class names specific to this custom HTML page. You can see the source code for this custom page here:
- View page source to see the syntax.
displayproperty on a content
You can also include static resources in your custom HTML pages, like images or video files. The “manage files” widget in the Website Configuration Tool lets you upload files that are not .html and create subdirectories. If your custom page is a description of your library and includes photographs of the building interior and a map of its location, these image files could be uploaded to a hypothetical “img” subdirectory and linked directly in your HTML file using the