Sign in to follow this  

How To Remove Align="center" From Chart Div?

Recommended Posts

Hello -


I am using FusionCharts Pro with PHP and recently updated my code to use the RenderChart function instead of RenderChartHTML. The charts that are generated are now each wrapped in a div that includes an inline align="center". Here is an example:


<div id="chart0Div" align="center"><embed type="application/x-shockwave-flash" ........></div>


This align="center" should not be there as it is preventing using straight CSS to determine how the chart appears on the page. In addition, the align attribute is deprecated and is not supported in HTML 4.01 Strict / XHTML 1.0 Strict DTD


I do not want the charts to be centered and would like to override or remove this align attribute. Please let me know how I can do this.


Thanks for your help!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this