diff --git a/html.go b/html.go
index a357b33..b0a44a1 100644
--- a/html.go
+++ b/html.go
@@ -77,9 +77,9 @@ func htmlReplacer(input string, activePage string) string {
break
}
- tempA = htmlElement("h2", htmlClean(Event.title), "title")
- tempA += htmlElement("p", htmlClean(Event.date), "date")
- tempA += htmlElement("p", htmlClean(Event.description), "desc")
+ tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
+ tempA += htmlElement("p", htmlClean(Event.date), "class=\"dat\"")
+ tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
tempB += "!SPLIT"
}