I need to move a dived CSS module into the center of the page...
Posted
by
JackMcE
on Stack Overflow
See other posts from Stack Overflow
or by JackMcE
Published on 2010-12-30T05:36:56Z
Indexed on
2010/12/30
5:54 UTC
Read the original article
Hit count: 148
I'm building a website for someone and they wanted the text and bulk of the information to be centered on the page. Problem is I can get everything contained in a tag and then assign the class, but I can't get the whole thing to center. It always hangs to the left even if I apply centering to the div class.
I guess you could say that it is stuck on the left side of the page when I want everything to be centered. I would just make everything format larger but they want some space left in the background for the color and maybe some imagery later on. They haven't made up their minds.
If you want to take a look here is the link where I'm building or testing stuff. I know the header and such needs to be re proportioned to fit with everything, but just as a frame of reference. Don't worry about the header, just know that I want the white text information area with the purple border to stay the same size, but just move to the center and if some one could tell me how to do that I would appreciate it greatly.
© Stack Overflow or respective owner