Jump to content

Archived

This topic is now archived and is closed to further replies.

tomfmason

Problems with include

Recommended Posts

In my login script, if the login is sucessful I include account.php. That works fine but the page is not in the correct layout. It is as if the style sheet is not included.

Here is alink to the site
[url=http://www.owpt.biz/home/index.php]http://www.owpt.biz/home/index.php[/url]

you can log in with

username: test
password:qh9jf442

If you login you will see what I am talking about.
Any suggestions would be great.

Share this post


Link to post
Share on other sites
You need to change this line:
<link rel="stylesheet" href="main.css" type="text/css">
to:
<link rel="stylesheet" href="../main.css" type="text/css">
(or <link rel="stylesheet" href="../../main.css" type="text/css">)

Because there's no such file as main.css in the includes folder.

Orio.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.