CSS/PHP include() re-sizing a page -


i have page graph.php creates graph using google charts.

example

<div id="chart_div" style="height:100%; width:100%"></div> 

i visit graph.php directly , graph correctly displayed @ 100% height , 100% width.

problem

i include("graph.php"); page in page graph appears smaller. there reason , how can 100% width etc.?

code

<div class="tab-pane" id="graphs" style="width:100%"><?php include("chart.php"); ?></div> 

your style="width:100%" applies div, contains graph div.

something might work:

style="position:absolute;width:100%" 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -