0

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!

Edited by levsha: n/a

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by levsha
0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.