i need a hand on this one, i inserted an image into a div, this image is meant to be my welcome page with 'enterpage'link. the image is 800x600 but.... it is aligning in the left of my page. i tried to align the div where i put the image in the center, but i actually don't kno how, who can help?
my css-code:
my xhtml-code:
note: the image must stay aligned in the center, even when window size is changed
Thou shalt be victorious!!
my css-code:
Code:
#background {position: absolute; left: 0 px; top: 0 px;}
Code:
<div id="background">
<img src="enterpage.jpg" width="800px"
height="600px" alt="background" />
</div>
note: the image must stay aligned in the center, even when window size is changed
Thou shalt be victorious!!