diff --git a/html.go b/html.go
index bc3bf54..0f1d50e 100644
--- a/html.go
+++ b/html.go
@@ -77,8 +77,8 @@ func htmlReplacer(input string, activePage string) string {
break
}
- tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
- tempA += htmlElement("p", htmlClean(Event.date), "class=\"date\"")
+ tempA = htmlElement("p", htmlClean(Event.date), "class=\"date\"")
+ tempA += htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
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"
diff --git a/web/styles/events.css b/web/styles/events.css
index 12b0159..f0b5760 100644
--- a/web/styles/events.css
+++ b/web/styles/events.css
@@ -35,6 +35,7 @@ div.eventList a.event div.event:hover {
div.eventList a.event div.event p.date {
text-align: right;
- padding-right: 10px;
+ padding: 0 10px 0 0;
+ margin: 0;
text-decoration: none !important;
}
\ No newline at end of file