CodeIgniter Forums
Table class behaving differently in IE and chrome - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Table class behaving differently in IE and chrome (/thread-52701.html)



Table class behaving differently in IE and chrome - El Forum - 06-22-2012

[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?


Table class behaving differently in IE and chrome - El Forum - 06-22-2012

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




Table class behaving differently in IE and chrome - El Forum - 06-24-2012

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