Hello messagecare->james, It was foretold that on 1-2-2004 @ 11:13:58 GMT+1100 (which was 1:13:58 where I live) messagecare->james would mumble: <snipped a bit>
mj> Generally if you want a block centred horizontally in a container, set mj> the margin to 0,auto and the containing block text-align to center; (for mj> IE5). mj> From your example you want the two column red text to be centered, text mj> align to left and the green nav aligned to left in the viewport, mj> text-align left. mj> In this case you would do: I haven't tested it yet, but does that solve my problem that the wrapper is centered in IE5? As i understand it, IE5 needs the text-align: center in the containing, which is for wrapper the body element (if i don't use outer wrapper). The CB used to be the body with a text-align:center but that placed the nav (which is outside the wrapper) center while i want it flush to the left. Using position or margins did brake the layout in IE6: the wrapper went to the top of the page and adding a top margin cured that in Opera and Moz but not in IE6. So i used the outer wrapper as the CB but the two hacks i used for IE5 didn't seem to have any effect [1] & [2]. Am i using the wrong hack to just feed the text-align: center to IE5? [1] http://www.dzinelabs.com/test/copy_of_copy_of_template_mogul.htm [2] http://www.dzinelabs.com/test/copy_of_copy_of_copy_of_template_mogul.htm -- Best regards, Luc _________________________ http://www.dzinelabs.com Powered by The Bat! version 1.63 Beta/7 with Windows 2000 (build 2195), version 5.0 Service Pack 4 and using the best browser: Opera. "An expert is someone who knows some of the worst mistakes that can be made in his subject, and how to avoid them." - Werner Heisenberg (1901-1976) - physicist ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
