CodeIgniter Forums

Full Version: Table class behaving differently in IE and chrome
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hi,
I am using the codeigniter table class and generating a few tables and appending it to a string.

Code:
$grid="";
$grid .=$this->table->generate();
$this->table->clear();

The tables appear in a proper fashion in Chrome (one after the other vertically) whereas in IE it is displaying horizontally. What can be done to resolve this?

El Forum

[eluser]InsiteFX[/eluser]
Are you using any css for the tables? Like in a div etc.

El Forum

[eluser]Unknown[/eluser]
No. I am simply just setting the template and then appending it to $grid.