On 23/05/2009, at 9:58 AM, Ramone Kalsaw wrote: > I have a web page at http://www.biom.net/index.php/dojo/index/ and > as you > can see it’s flush left in the browser. I want to center it and have > tried > adding “auto” to the margin element for both body and wrapper > selectors, but > can’t get the setting to budge. Can you point out where I’m off? > [code]#wrapper { position: relative; float: left; margin: 0 auto; > padding: > 0; width: 778px; background: #cccc99; color: #333; border-top: 10px > solid > #000; }[/code] Thanks. >
The first step for debugging should always be to validate your HTML/ CSS. Often this will resolve problems. If it doesn't, you've at least got a solid starting point for further troubleshooting. ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/