Hello
I don't wish to be pedantic, but what is the reason, please, for this space (screenshot attached) between the ordinal date and the name of the month?
This is my code:
Code:
<%
Dim suffix
Select Case Day(Date())
Case 1,21,31: suffix = "st"
Case 2,22: suffix = "nd"
Case 3,23: suffix = "rd"
Case Else: suffix = "th"
End Select
Response.Write "<p class=""show_date"">" & WeekdayName(Weekday(Date())) _
& " " & Day(Date()) & "<sup>" & suffix & "</sup>" _
& MonthName(Month(Date())) & "</p>"
%>
and this is the CSS:
Code:
p.show_date {
font-size: 10px;
text-align: right;
margin-right:10px;
}
p.show_date sup {
font-size: 10px;
margin-right:10px;
}
I only noticed it after I had added the right-margin to pull the date away from the side a bit.
Many thanks!