DannyCat
02-18-2003, 04:55 AM
OKay so I added this code into my site, and it works, so i did it correctly. Now the only problem is the text colour.
Where or how do i cahnge the colour, and possibly the position on my page:
(in head tag)
<script language=JavaScript>
<!--- start of javascript hide
var Firstname=prompt("Enter your Firstname :","Firstname");
// unhide --->
</script>
(in body tag)
<script language=JavaScript>
<!--- start of javascript hide
document.write("<center><h1>Hiya" + " ");
document.write(Firstname + " ");
document.write("</h1></center>");
//unhide --->
</script>
I'm assuming if I change the word center to left that will move it, but I'm not sure so I figured I'd ask first.
As for the colour, I tried and it did nothing, so I need major help there. The Black text is just difficult to see..
Where or how do i cahnge the colour, and possibly the position on my page:
(in head tag)
<script language=JavaScript>
<!--- start of javascript hide
var Firstname=prompt("Enter your Firstname :","Firstname");
// unhide --->
</script>
(in body tag)
<script language=JavaScript>
<!--- start of javascript hide
document.write("<center><h1>Hiya" + " ");
document.write(Firstname + " ");
document.write("</h1></center>");
//unhide --->
</script>
I'm assuming if I change the word center to left that will move it, but I'm not sure so I figured I'd ask first.
As for the colour, I tried and it did nothing, so I need major help there. The Black text is just difficult to see..