Using Header - Main - Footer Template is getting wierd on IE |
[eluser]barisv[/eluser]
Hi, I am trying to write a admin page that its header and footer are same on all pages. So I decided to create a template to not to write (copy-paste) them all pages. Just the main page will be the dynamic one. I did it the way as below: admin_template.php Code: <?php $this->load->view('includes/admin_header.php'); ?> So I can call it from the function I wanted. Code: function index() Now, the problem is, this way is breaking the style for all IE versions. The other browsers are working fine. Then I deleted the template and I put header, main and footer in one page , it works nice for also IE even if the both way produces the exactly same output when I looked at the source code. What is the problem ? Thanks in advance for your help. Screenshots of problem IE Problem : http://i54.tinypic.com/qsqczb.jpg This is what I wanted: http://i56.tinypic.com/54sv2s.jpg |
Welcome Guest, Not a member yet? Register Sign In |