29 Mar 2009 at 18:54 #1 Shaye87 Shaye87 Associate Joined 29 Apr 2006 Posts 1,456 how to make the site not to go on full screen but to be centered like in http://getk2.com/? Thanks
29 Mar 2009 at 19:24 #2 HungryHippos HungryHippos Soldato Joined 25 Mar 2004 Posts 16,008 Location Fareham Create a container div with the width you want, centre it on the page, put all your elements inside the container div That's the basics of it anyway
Create a container div with the width you want, centre it on the page, put all your elements inside the container div That's the basics of it anyway
29 Mar 2009 at 19:31 #3 Shaye87 Shaye87 Associate OP Joined 29 Apr 2006 Posts 1,456 aww, it has to be done "manually"?
29 Mar 2009 at 22:54 #4 suarve suarve Soldato Joined 8 Oct 2005 Posts 4,184 Location Midlands, UK Isn't like that by default. Never remember having to center the template manually. meh
30 Mar 2009 at 01:59 #5 ConnectionFX ConnectionFX Associate Joined 1 Jan 2009 Posts 406 Location Northampton do you mean like: <div align="center"> applied before your first table tag </div> applied after your last table tag
do you mean like: <div align="center"> applied before your first table tag </div> applied after your last table tag
30 Mar 2009 at 10:26 #6 Pho Pho Soldato Joined 18 Oct 2002 Posts 9,336 Location Derbyshire Alternatively: CSS: Code: #container { border: 1px solid black; margin: 0 auto; width: 300px; } HTML; Code: <div id="container"> <p> </p> </div>
Alternatively: CSS: Code: #container { border: 1px solid black; margin: 0 auto; width: 300px; } HTML; Code: <div id="container"> <p> </p> </div>
31 Mar 2009 at 18:29 #7 HungryHippos HungryHippos Soldato Joined 25 Mar 2004 Posts 16,008 Location Fareham yep centre with CSS is best, <centre> tags are depercated now with CSS around
31 Mar 2009 at 19:14 #8 intellix intellix Associate Joined 7 Dec 2007 Posts 302 Location Derbyshire, Tibshelf as Pho said, have a container div that is centered using margin:0 auto;
31 Mar 2009 at 19:20 #9 suarve suarve Soldato Joined 8 Oct 2005 Posts 4,184 Location Midlands, UK I honestly can't remember having to do this for the k2 theme and I used it a good 2 years ago.