Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Using images in a theme: Difference between revisions

From MoodleDocs
(New page: Just had a quick browse through this, I have not tested this but are there file extensions missing in the examples? e.g. - body {background-image:url(gradient);} shouldn't...)
 
No edit summary
Line 2: Line 2:


e.g. -  
e.g. -  
<code css>
body {background-image:url([[pix:theme|gradient]]);}
body {background-image:url([[pix:theme|gradient]]);}
</code>


shouldn't this read -
shouldn't this read -
<code css>
body {background-image:url([[pix:theme|gradient.png]]);}
body {background-image:url([[pix:theme|gradient.png]]);}
</code>

Revision as of 14:31, 10 June 2010

Just had a quick browse through this, I have not tested this but are there file extensions missing in the examples?

e.g. - body {background-image:url(gradient);}

shouldn't this read - body {background-image:url(gradient.png);}