Forum Moderators: not2easy
Can someone please help me with the following? I would also like it to float right with a left margin of 0.5 ems if possible.
I know I need to change APPLET to OBJECT, but then I'm lost from there. :( I'm trying to validate to 4.01 strict.
Any help would be appreciated. Thank you.
< APPLET code="alcsnow.class" align=baseline width="275" height="206" >
< param name="grph" value="holmanor.jpg" >
< param name="snows" value="700" >
< param name="threadsleep" value="50" >
< /APPLET>
I've put the spaces in to permit the applet code to appear.
If so...
new html source:
< APPLET code="alcsnow.class" id="my_applet" >
< param name="grph" value="holmanor.jpg" >
< param name="snows" value="700" >
< param name="threadsleep" value="50" >
< /APPLET>css (including the float and margin):
#my_applet{
float:right;
width:275px;
height:206px;
margin-left:0.5em;
vertical-align:baseline;
}
Let us know if this isn't what you had in mind.
cEM
Based on 4.01, I need to change the word "APPLET" to "OBJECT". Not a problem. The problem is "CODE". This has been deprecated as well. I tried CODEBASE, but object did not appear. I also tried DATA but then a music/video controller displays. :(
Or, could the APPLET be pulled in by Javascript?