CSS dissappears after using PHP code.
#1

Basically guys, I need help.

I want to use .php so I removed this code from my index.php:
PHP код:
<html>
<
head>
<
link href="css/main.css" rel="stylesheet" type="text/css">
<
title>Name</title>
</
head>
<
body>
<
div class="headerMenu">
     <
div id="wrapper">
          <
div class="logo">
               <
img src="img/test.png">
          </
div>
          <
div class="search_box">
               <
form method="GET" action="search.php" id="search">
               <
input name="q" type="text" size="60" placeholder="Search ..." />
               </
form>
          </
div>
          <
div id="menu">
               <
a href="#">Home</a>
               <
a href="#">About</a>
               <
a href="#">Sign Up</a>
               <
a href="#">Login</a>
          </
div>
     </
div>
</
div>
<
br />
<
br />
<
br />
<
br /> 
and paste it another file and save it to "inc/incfiles/header.inc.php"
I then add at the top to the index.php:

<? include("inc/incfiles/header.inc.php") ?>

And all CSS is removed..
Help?!
Reply


Messages In This Thread
CSS dissappears after using PHP code. - by Jernu - 30.12.2012, 01:34
Re: CSS dissappears after using PHP code. - by Forever Alone - 30.12.2012, 01:38
Re: CSS dissappears after using PHP code. - by Jernu - 30.12.2012, 01:39
Re: CSS dissappears after using PHP code. - by Forever Alone - 30.12.2012, 01:42
Re: CSS dissappears after using PHP code. - by Jernu - 30.12.2012, 01:50
Re: CSS dissappears after using PHP code. - by Forever Alone - 30.12.2012, 01:52
Re: CSS dissappears after using PHP code. - by Jernu - 30.12.2012, 01:54
Re: CSS dissappears after using PHP code. - by [HiC]TheKiller - 30.12.2012, 03:31
Re: CSS dissappears after using PHP code. - by BlackBank - 30.12.2012, 10:48
Re: CSS dissappears after using PHP code. - by GWMPT - 30.12.2012, 12:49

Forum Jump:


Users browsing this thread: 2 Guest(s)