:: Forum >>

Grid centering

How do I center the grid within the browser window?
KJD
Thursday, June 25, 2009
Just use HTML centering. <center> ... </center>
Anthony
Thursday, June 25, 2009
where would I put the HTML statement? (sorry but I'm very new to this)
KJD
Friday, June 26, 2009
You would place it around the section of JavaScript code you use to create your grid. E.g. -
<center>
<script>
AW code here
</script>
</center>

An alternate method would be to create a div with CSS definitions to center its contents and place the AW grid within that. This is a little more complicated that the above (by only slightly so).
Anthony
Friday, June 26, 2009
This did not work any ideas why? Does the AW grid not have a centering command?
KJD
Friday, June 26, 2009
No, it doesn't. You may need to post an example of your code or put it up on the web.
Anthony
Friday, June 26, 2009

This topic is archived.


Back to support forum

Forum search