Welcome Guest, Not a member yet? Register   Sign In
css path problem in firefox
#1

[eluser]murtuza54[/eluser]
Hi

I have made one view in which i have attached one css file.
for the css path i have called a function from Include_path library.
it returns the proper path. i can see the exact path of css in source file of page.
it works well with IE. but it is not showing css effects in Mozilla Firefox.
i have put name of library in autoload.php


//Library function
class Include_path
{
function get_css()
{
return ($_SERVER['DOCUMENT_ROOT']."/css/new.css");
}
}

//view
<html>
<head>
<title>hello</title>
<link href="<?php echo $this->include_path->get_css();?>" type="text/css" rel="stylesheet" />
....


source in IE
<link href="C:/new/css/new.css" type="text/css" rel="stylesheet" />
and it works fine..

source in firefox
<link href="C:/new/css/new.css" type="text/css" rel="stylesheet" />
and it doesnt show any effect of it.

can anyone help me?


Messages In This Thread
css path problem in firefox - by El Forum - 12-24-2008, 01:37 AM
css path problem in firefox - by El Forum - 12-24-2008, 02:14 AM
css path problem in firefox - by El Forum - 12-24-2008, 02:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB