2 Votes Vote

Simple Question

Posted by topdog 783 days ago Questions| background page web page All
I'm sure this is a simple question, but I just can't figure it out. I want to create a web page with a simple black background, which I do know how to do. But here's this problem. But over that black BG, I want to insert an ONE COPY of an image centered as the background of the actual web page, where everything will be located. So this image will cover something like 80-90% of the page width. When I do "<body background="*.jpg">..." it just repeats the image. When I insert it as <img src="*.jpg">... it treats it as an image (which it is), instead of a background and I can't place anything on top of it. sad.gif I think a lot of my trouble is getting the image to align in the middle and not repeat itself.

Thanks for your help!

P.S. I am not interested in "convenient methods" that bypass the programming. My goal is to learn more HTML, JavaScript, etc.



Discuss Bury


Who Voted for this Question