SFTR
01-10-2004, 07:03 AM
Second Question in post 4 i think!
Hiya
Im new to HTML and I'm stuck.
I've used this to place an image and then place the date over the top but it draws the text underneath:
<div id="Layer1" style="position:absolute; left:690px; top:0px; width:73px; height:76px; z-index:1">
<IMG SRC="Box_Small.gif">
<SCRIPT LANGUAGE="JavaScript">
MyDate = new Date();
document.write("The date is:" + (MyDate.getMonth()+1) + "/" + MyDate.getDate() + "/" + MyDate.getFullYear() + ". Enjoy!");
</SCRIPT>
</div>
Is there any way to prevent the image going over the top of the text!
Thx
Hiya
Im new to HTML and I'm stuck.
I've used this to place an image and then place the date over the top but it draws the text underneath:
<div id="Layer1" style="position:absolute; left:690px; top:0px; width:73px; height:76px; z-index:1">
<IMG SRC="Box_Small.gif">
<SCRIPT LANGUAGE="JavaScript">
MyDate = new Date();
document.write("The date is:" + (MyDate.getMonth()+1) + "/" + MyDate.getDate() + "/" + MyDate.getFullYear() + ". Enjoy!");
</SCRIPT>
</div>
Is there any way to prevent the image going over the top of the text!
Thx