Width of displayI recently did my first conversion of a web template to a DWT.  Seems to have worked fine (with possibly some bloat I'll remove) except for one problem.  The page heading and menu display across the entire screen instead of just the chosen width of the container.  I have tried unsuccessfully to resize it.  Seems I'm in the middle of the forest and not seeing the trees??  Could someone spot something I'm overlooking?  The site is: <a href="http://www.taylor-computers.com/test/">http://www.taylor-computers.com/test/</a><br/>Thanks in advance for your help.<br/>© 2009 Microsoft Corporation. All rights reserved.Thu, 02 Jul 2009 01:05:50 Z1d5a7c3d-00fa-4b9e-969c-e91740dcd5efhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#1d5a7c3d-00fa-4b9e-969c-e91740dcd5efhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#1d5a7c3d-00fa-4b9e-969c-e91740dcd5efpctekhttp://social.expression.microsoft.com/Profile/en-US/?user=pctekWidth of displayI recently did my first conversion of a web template to a DWT.  Seems to have worked fine (with possibly some bloat I'll remove) except for one problem.  The page heading and menu display across the entire screen instead of just the chosen width of the container.  I have tried unsuccessfully to resize it.  Seems I'm in the middle of the forest and not seeing the trees??  Could someone spot something I'm overlooking?  The site is: <a href="http://www.taylor-computers.com/test/">http://www.taylor-computers.com/test/</a><br/>Thanks in advance for your help.<br/>Wed, 01 Jul 2009 15:42:09 Z2009-07-01T15:42:09Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#137cb4ad-f76b-42df-a082-acdd3a9f87eahttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#137cb4ad-f76b-42df-a082-acdd3a9f87eaVeignhttp://social.expression.microsoft.com/Profile/en-US/?user=VeignWidth of displayIn your CSS stylesheet change this:<br/> <pre>#header { width: 778px; margin: 0px; padding: 1em; height: 90px; color: #254360; clear: none; text-align: center; }</pre> <br/> To This:<br/> <pre>#header { width: 778px; margin: 0px auto; padding: 1em; height: 90px; color: #254360; clear: none; text-align: center; }</pre> <br/> Adding the Margin of Auto causes the container (with a width) to center.<br/> <br/> What I would do is give your width and centering on the Container and not the individual blocks within the container.  Let the individual blocks (like the header) be full width to the container its within.  This will allow you to change the overall width by changing a single value (width on the Container). <hr class=sig> -- <br/> Chris Hanscom - Microsoft MVP<br/> <a href="http://www.veign.com/development-center.php">Resource Center</a> | <a href="http://www.veign.com/blog">Veign's Blog</a> | <a href="http://www.veign.com/development-center-web.php">Web Development Help</a> <br/> <br/> <a href="http://www.veign.com/website-check.php">Get a Complete Website Analysis</a> by VeignWed, 01 Jul 2009 16:03:25 Z2009-07-01T16:03:47Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#83cebeae-7727-4fac-a75b-4a967bfedff3http://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#83cebeae-7727-4fac-a75b-4a967bfedff3KathyW2http://social.expression.microsoft.com/Profile/en-US/?user=KathyW2Width of displayYou are missing the styling that will center the page heading: set the left and right margin to auto.<br/><br/>The menu is already centered.  (Notice the &quot;margin: 0px auto;&quot; in its styling.)<br/><br/> The stripes &quot;across the whole screen&quot; is just the background image you have for the body.Wed, 01 Jul 2009 16:09:50 Z2009-07-01T16:09:50Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#b8ce5333-64f5-498d-af09-d40fcbf33214http://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#b8ce5333-64f5-498d-af09-d40fcbf33214pctekhttp://social.expression.microsoft.com/Profile/en-US/?user=pctekWidth of displayThanks, Chris.  I'll give it a shot.Wed, 01 Jul 2009 17:36:09 Z2009-07-01T17:36:09Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#8cf2abf0-1ccd-4fcf-b3cb-8dc9ebd5deaahttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#8cf2abf0-1ccd-4fcf-b3cb-8dc9ebd5deaapctekhttp://social.expression.microsoft.com/Profile/en-US/?user=pctekWidth of displayThank you, Kathy.  I'll make the changes you suggested along with Chris'.  Should be able to make this work now, thanks to both of you.Wed, 01 Jul 2009 17:37:18 Z2009-07-01T17:37:18Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#b3cfa793-6548-4f9c-b264-686d24e3835dhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#b3cfa793-6548-4f9c-b264-686d24e3835dpctekhttp://social.expression.microsoft.com/Profile/en-US/?user=pctekWidth of displayI made this change, and the header still extends across the entire screen, not just the width of the container.  Where else would I have make a change?Thu, 02 Jul 2009 00:51:39 Z2009-07-02T00:51:39Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#d81271b8-0af0-4f3a-86d2-7a1fa932cc96http://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#d81271b8-0af0-4f3a-86d2-7a1fa932cc96pctekhttp://social.expression.microsoft.com/Profile/en-US/?user=pctekWidth of displayNot sure I understand why the background image would extend the width of the screen if I have it inside the container????Thu, 02 Jul 2009 00:52:35 Z2009-07-02T00:52:35Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#4f0635c8-7efd-485c-a287-f1cce39cea84http://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#4f0635c8-7efd-485c-a287-f1cce39cea84Veignhttp://social.expression.microsoft.com/Profile/en-US/?user=VeignWidth of displayYou didn't make the change I mentioned.  The CSS is the exact same.  The image spans the width of the page because you have it applied to the BODY tag.<hr class="sig">-- <br/> Chris Hanscom - Microsoft MVP<br/> <a href="http://www.veign.com/development-center.php">Resource Center</a> | <a href="http://www.veign.com/blog">Veign's Blog</a> | <a href="http://www.veign.com/development-center-web.php">Web Development Help</a><br/><br/> <strong><a href="http://www.veign.com/website-check.php">Get a Complete Website Analysis</a> by Veign</strong>Thu, 02 Jul 2009 00:55:33 Z2009-07-02T00:55:33Zhttp://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#7aa0efeb-3bfc-4425-bfb9-f761dddebfc0http://social.expression.microsoft.com/Forums/en-US/web/thread/1d5a7c3d-00fa-4b9e-969c-e91740dcd5ef#7aa0efeb-3bfc-4425-bfb9-f761dddebfc0KathyW2http://social.expression.microsoft.com/Profile/en-US/?user=KathyW2Width of displayIf you made changes, you didn't publish them.  The page you linked to above hasn't changed.<br/><br/>The stripe that extends across the page is your page background image.  It won't change unless you no longer apply that to the body.  The header itself still doesn't have the left and right auto margins needed to center it.Thu, 02 Jul 2009 01:05:50 Z2009-07-02T01:05:50Z