Jump to main content
University Computer Centre

Design - Frequently Asked Questions and Answers

How Can I Use the Full Page Width for the Content?

This is shown in the examples.

How can I set an image as the page background?

Assign an ID to a div element and then assign it to the CSS properties for using an image as a background.

So, for example, if you put in your config.inc:

$css_in 'div#illustrated {background:url("background.jpg") no-repeat center center fixed;}';

Then you can use the element with background image in the page source code as follows:

<div id="illustrated">
  This is content.