css issues

css issues

av viral mehta -
Antall svar: 0

I am new to moodle and an amatuer programmer please pardon me if this question is repeated or has a very simple solution

I have made a simple webpage in moodle 2.0.1 which has certain text. In this web page at the beginning I have defined some CSS which are as below:

<style type="text/css">
.Heading {
font-family: Arial, Helvetica, sans-serif; font-size: 22px;
font-weight:bold;
}
.Figure {
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold
}
.Content {
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
}
</style>

but the page doesn't get displayed accordingly. It turns out like below:
<!-- .Heading { font-family: Arial, Helvetica, sans-serif; font-size: 22px;         font-weight:bold; } .Figure { font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold } .Content { font-family: Arial, Helvetica, sans-serif; font-size:12px; } -->

Please help me.

Gjennomsnittlig vurdering: -