Yeah I'd tried that.<br><br><span style="font-weight: bold;">This is what didn't work (I'm testing in FireFox <a href="http://2.0.0.6">2.0.0.6</a>):</span><br><br>renderContentOn: html <br> html div id: 'container'; with: [
<br> html div id: 'holdingPage'; with: [ ]].<br><br>style<br> ^'<br> body {<br> text-align: center;<br> }<br><br> #container {<br> float: left;<br> margin-left: auto;<br>
margin-right: auto;<br> width: 100% (or even: 1020px);<br> border: 1px solid black;<br> }<br><br> #holdingPage {<br> float: left;<br> padding: 0px 0px 0px 0px; <br> text-align: center;
<br> width: 980px;<br> border: 1px solid black;<br> }'<br><br><br><span style="font-weight: bold;">This is what worked:</span><br><br>renderContentOn: html <br> html table align: 'center'; with: [ html tableRow: [ html tableData: [
<br> html div id: 'holdingPage'; with: [ ]]]]<br><br><br>
style<br>
^'<br> #holdingPage {<br>
float: left;<br>
padding: 0px 0px 0px 0px; <br>
text-align: center; <br>
width: 980px;<br>
border: 1px solid black;<br>
}'<br><br>Cheers,<br><br>Dirk<br><br><div><span class="gmail_quote">On 8/28/07, <b class="gmail_sendername">Lukas Renggli</b> <<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> > I'm trying to center all the pages of my site, I've had no luck with the<br>> style sheets and the only way I've been able to achieve it is to place the<br>> holding div block inside a table as per the following:
<br><br>Did you type 'css center page' into Google?<br><br>This explanation seems to be quite nice:<br><br> <a href="http://www.maxdesign.com.au/presentation/center/">http://www.maxdesign.com.au/presentation/center/
</a><br><br>Cheers,<br>Lukas<br><br>--<br>Lukas Renggli<br><a href="http://www.lukas-renggli.ch">http://www.lukas-renggli.ch</a><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">
Seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br>