Menu
I am usung the code below to create an image in an HTML 4.01 strict document.
How can I cause the image to be centered?
I was thinking of using
[CODE]newImg.write(‘<DIV align=center>’);
But [B]align [B]align
[CODE] function setImageURL(local)
{
newImg = document.createElement(‘img’);
newImg.src = GetURL(local);
document.body.appendChild(newImg);
}