The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Keep page centered Re: Keep page centered


How would I do this if I have a background image that is setup in the css file, and an image hyperlink in my html file?

For example: My background image is a specific size, and is setup from my CSS file, and I want to center it just like you mentioned above.

Another example: I have an image hyperlink that is setup in my HTML file, and I want it to have specific coordinates (left, top, right, bottom) to display at a specific spot on my background image. Can your method above work with an image that has specific coordinates?