Hi guys!
Can't figure out why this is not working:

<div id = "calendar">
				<script language="javascript">
					document.write(TODAY);    
				</script>
			</div>

Here is the CSS:

#calendar {
	width:            956px;
	height:           15px;
	float:            right;
	color:            #ffffff;
	background-color: #036779;
	padding-top:      5px;
	padding-bottom:   5px;
	padding-left:     2px;
	padding-right:    2px;
	text-align:       right;
	
}

The text doesn't show.

Thank you!

I found the mistake - had forgotten to declare the variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.