View Full Version : How to center content with background image? Please help
Proverbial Crush
01-02-2007, 05:54 PM
I am assuming this is a simple task but I can not figure out how to center the content of a page with the background image. If you go to http://www.morganhildebrand.com you will notice that the content is centered within the browser but not the background image. I was wondering if there was a code that would center the table with the background image so the content wouldn't move around the background image?
xoblivionxfantasyx
01-05-2007, 02:18 PM
you need to have a fixed background so your content moves but your image doesn't is that what you were asking?
<body background="xxx.jpg" behavior="fixed">
xoblivionxfantasyx
01-05-2007, 02:19 PM
sorry i didnt know if it would display correctly or not here is the code:
<body background="xxx.jpg" behavior="fixed">
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.