-
HTML Help Needed! +REP
Hey HXF,
I'm in the process of making a website, but just need help with some code for a coming soon page, i'm very rusty with HTML cause it's been a while.
I'm trying the achieve; A Image centred in the background, with the a specific colour for the background for the image to merge in. If you could help it would greatly appreciated and +Rep will be given.
Regards, Huggies.
-
If that's all you want on the page, you don't really need any HTML - you could just put this CSS inline the HTML document and replace the image.jpg with the location of your image, and #fff with a HEX colour code:
HTML Code:
<style type="text/css">
html {
width:100%;
height:100%;
background: url(image.jpg) center center no-repeat #fff;
}
</style>