Graeme Posted July 30, 2012 Report Share Posted July 30, 2012 Hello All, I would like to position a background image, as a watermark really into a Div. I would like it in the cemter both vertically and horizontally no matter what other conten is in the Div, I'm using the following in my CSS code #news { width: 205px; color: #FFFFFF; padding: 5px 5px 10px 5px; /*top right bottom left - clockwise sizing*/ float: left; background-image: url(../images/quote.gif); background-repeat: no-repeat; background-attachment: scroll; background-position: center; background-position: center middle; } Thank you as always, Best wishes Graeme Quote Link to comment Share on other sites More sharing options...
Andrea Posted July 30, 2012 Report Share Posted July 30, 2012 Try html { min-height: 100%;} Not guaranteed this will work, but it does work to keep and image on the bottom. Quote Link to comment Share on other sites More sharing options...
Graeme Posted July 30, 2012 Author Report Share Posted July 30, 2012 Try html { min-height: 100%;} Tried it Andrea but it's a no go this time, I'll keep playing! Quote Link to comment Share on other sites More sharing options...
gffects Posted July 30, 2012 Report Share Posted July 30, 2012 would you not just have the background attachment fixed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.