Hey, why don’t you use CSS for it you can use any one of the three CSS either declare the values is may CSS file which is in .xml format by using class or declare it in title tag or declare it directly to that div tag which you want to move to center . Here is some coding which you can edit them according to your example
Code:
<div style="color: #00FF00; align: center">
<h3>this is a header</h3>
<p>this is a paragraph. </p>
</div>
This is an inline CSS directly to that div tag.
Make and .Xml file for your CSS and then
Code:
.div1
{
Align: center;
}
And then in your coding page
<Head>
<link rel="style sheet" type="text/CSS" href="mystyle.css" />
</head>
And then
<div class=”div1”>
Hope is solves your problem.
Bookmarks