CodeIgniter Forums

Full Version: Calling a view - Interesting Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

El Forum

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

El Forum

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

El Forum

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

InsiteFX

El Forum

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

El Forum

[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

El Forum

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