Hi all,
I need directions on "Text Alignment"
I have used this code to greet user:
<script type="text/javascript">
var d = new Date();
var time = d.getHours();
if (time > 17)
{
document.write("<b>Good Evening, Thanks For Visiting Us!</b>");
}
else if (time <17 && time >12)
{
document.write("<b>Good Afternoon, Thanks For Visiting Us!</b>");
}
else
{
document.write("<b>Good Morning, Thanks For Visiting Us!</b>");
}
</script>
Its working fine for me, but the problem […]
I have a page that loads a text box and an image the user has selected from another page. I can get them to display but I need to be able to have the image fit under the text. Right now the image is over the text. I have a sample page to look at: […]
Any input is appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="text/javascript">
function validateForm(form1)
{
alert("Please enter your name.");
}
</script>
</head>
<body>
<form name="form1" id="form1" method="post" onSubmit="validateForm(form1);">
<input type="text" id="name" name="name" />
<input type="submit" name="SubmitName" value="Submit" />
</form>
</body>
</html>
a2a_linkname=”why won’t this script work?”;a2a_linkurl=”http://itquestions.info/why-wont-this-script-work/”;
I’m working on a small web app that uses drag and drop to add users to projects for management purposes. It’s hard to describe the problem without showing the relevant code, so I’ll start with that first:
<div id="primary">
<?php
[…]