View Full Version : Having layout move with browser
07-25-2007, 09:31 PM
I do not know how to have a layout (lets say it is 700px wide) to stay centered no matter how small or big the browser window gets.
Also, I need to know how to apply a BG image to that same page. Would it be the standard body background HTML tag?
And lastly, I use DIV tags a lot, if I added the code in to keep the layout centered, will that also affect the DIV tags? If so, how could I fix that issue?
07-25-2007, 09:40 PM
You need to post a link your site or the code you have so far.
You can assign a background to the background of the page like this:
This is CSS. The bg attribute is not used anymore. If what you rather wanted was a background on the centered div you keep everything in, just switch the body part in the above code out with the name of your div ID.
07-25-2007, 10:12 PM
Ok. Anything for my other questions?
Also, I don't have a specific site that I want to do this with, just an over all idea.
But this could be applied to www.antiBURN.com (the antiBURN logo is the link)
That site can be a reference for what I am trying to do. (Except that it has no Div codes)
07-25-2007, 10:18 PM
07-25-2007, 10:19 PM
Thanks!! This definitely helps.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.