Modifications
Looking to center everything and trying to modify
Started December 26, 2010 by Joe B
Hello everyone. I am looking to center everything into one big div if that's feasible? My site is http://www.themilliondollarwebsite.org/ it's still have quite a bit of work to get done, but right now I am trying to have the header, body, footer centered together around 1000px wide. Similar to how this site appears. Any suggestions? Instead of having the banner on the main page go all the way across the screen.
5 replies
Add CSS to the container element:margin:0px auto;
I sill confused on were to add the CSS to? Sorry I am not the best at web programming. So I would add margin:0px auto; to the main.css? I want to everything to be at 1000px in width, the same as the grid.
You can for example edit the example.html file and below the body tag add: [code][/code]Then above the tag at the bottom add and it should center everything.
Awesome, Works perfect!
I did have one more question. I the main grid, I can make it so that only the alt texts appears and does not also show the link in text?