CodeIgniter Forums
Calling a view - Interesting Problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Calling a view - Interesting Problem (/showthread.php?tid=38552)



Calling a view - Interesting Problem - El Forum - 02-11-2011

[eluser]barisv[/eluser]
Hi,

I have a written a website (only hmtl + js) before I met codeigniter. Now I want to use it on CI. However, the problem is, the style is a little bit crashing on all Internet Explores versions, when I call it as a view (like $this->load->view('mainpage').

But when I open it as a normal html, everything works fine on all browsers. What can be the problem ?

Thanks in advance.


Calling a view - Interesting Problem - El Forum - 02-11-2011

[eluser]LuckyFella73[/eluser]
Quote:the style is a little bit crashing

Could you describe the problem more detailed? Is it just that
letters are not displayed correctly or are images missing or
css styles not loaded ..

Did you compare the parsed source in your browser view?


Calling a view - Interesting Problem - El Forum - 02-11-2011

[eluser]Rein Van Oyen[/eluser]
Or do you see any errors? If yes; which one?


Calling a view - Interesting Problem - El Forum - 02-11-2011

[eluser]InsiteFX[/eluser]
It is probably your js and CSS pathsin the header of your view!

InsiteFX


Calling a view - Interesting Problem - El Forum - 02-13-2011

[eluser]barisv[/eluser]
The examples are both running on same browser. They give me same source code but looking different as you see in below. Probably I will create the template at the beginning and will check step by step.

The one which is working on CI -> http://i51.tinypic.com/2n832v7.jpg

The other one -> http://i52.tinypic.com/jqnuxe.jpg

Thanks for your all interest.


Calling a view - Interesting Problem - El Forum - 02-13-2011

[eluser]InsiteFX[/eluser]
The one left aligned must be missing the center wrapper div.

Use code tags and show us your html and codeigniter view code.

InsiteFX


Calling a view - Interesting Problem - El Forum - 02-13-2011

[eluser]barisv[/eluser]
The one wihout CI : http://codepaste.net/9h1gsw

With CI : http://codepaste.net/owm7a7

I couldnt add these codes to here because it gives an error like :

Error Message

Due to a heavy increase of spam within our community, the privilege of being able to add links to content is currently reserved for active community members and those who have purchased our software.

You may resubmit the form without links to proceed. If you feel you have received this in error, please contact [email protected] with a support key of joesqsmr-os8wgok0-c84c40wk-4wko4o4 for more information.