stefanlee
06-25-2003, 02:30 PM
Hi there!
Hope somebody can help me - maybe it's a simple and stupid question for somebody who knows how:
I am using some java to make an image fade in and fade out again... the problem I have is that I want it in the page center - no matter whether the visitor of the webpage changes the browser window size or not.
This is there:
<style type="text/css">
#img1 {position:absolute; width:200px; height:200px; left:220px; top:525px; z-index:1; visibility:hidden;}
#img2 {position:absolute; width:200px; height:200px; left:220px; top:525px; z-index:2}
</style>
and I don't want an "absolute position" I want it horizontally centered.
Anybody an idea?? :confused:
Hope somebody can help me - maybe it's a simple and stupid question for somebody who knows how:
I am using some java to make an image fade in and fade out again... the problem I have is that I want it in the page center - no matter whether the visitor of the webpage changes the browser window size or not.
This is there:
<style type="text/css">
#img1 {position:absolute; width:200px; height:200px; left:220px; top:525px; z-index:1; visibility:hidden;}
#img2 {position:absolute; width:200px; height:200px; left:220px; top:525px; z-index:2}
</style>
and I don't want an "absolute position" I want it horizontally centered.
Anybody an idea?? :confused: