A simple demo would be sweet!
A:
This looks like more of a styling question than anything else. You'll need to tweak the style settings to get it exactly right.
img.centered
{
position: fixed;
left: 45%;
top: 45%;
width: 10%;
height: 10%;
}
document.ready
(
function()
{
$("body").append("<img src='test.jpg' class='centered' />");
}
);
David Andres
2009-09-26 04:04:13