12-06-2011, 15:40
Witam ponownie... nadal ten sam blad. Podam kod do strony odpowiedzialnej za wszystko "index.php" i podstrony
index.php
podstrona:
Gdy wstawie w podstronie <li class="aktywny">Galeria</li> w stylach nadam mu kolor to powstaje mi pod menu nowy odnosnik...
index.php
Kod:
<!DOCTYPE HTML>
<HTML>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta charset="UTF-8">
<title>Protectia</title>
<link rel="stylesheet" href="style/style.css"/>
<link rel="stylesheet" href="style/menu-style.css"/>
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/jquery.dropdown.js"></script>
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Protectia</h1>
</div>
<!--Menu-Start-->
<div>
<ul id="navi" class="dropdown dropdown-horizontal" >
<li><a href="index.php?id=0" class="link">Home</a></li>
<li><a href="index.php?id=1" class="link">Test & Inspections</a></li>
<li><a href="index.php?id=2" class="link">Domestic</a>
<ul>
<li><a href="index.php?id=3">Lighting</a></li>
<li><a href="index.php?id=4">New Installation</a></li>
<li><a href="index.php?id=5">Maintenance</a></li>
</ul>
</li>
<li><a href="index.php?id=6" class="link">Industrial</a>
<ul>
<li><a href="index.php?id=7">Lighting</a></li>
<li><a href="index.php?id=8">Installation & Control</a></li>
<li><a href="index.php?id=9">Maintenance</a></li>
</ul>
</li>
<li><a href="index.php?id=10" class="link">Home Automation</a></li>
<li><a href="index.php?id=11" class="link">Fire Safety</a></li>
<li><a href="index.php?id=12" class="link">Contact Us</a></li>
<li><a href="index.php?id=13" class="link">Booking & Payments</a></li>
<li><a href="index.php?id=14" class="link">Terms</a></li>
</ul>
</div>
</div>
<!--Menu-End-->
<!--Tresc-Start-->
<div id="wrapper2">
<div id="tresc">
<?php include('zmienne.php'); php?>
</div>
</div>
podstrona:
Kod:
<!DOCTYPE HTML>
<HTML>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta charset="UTF-8">
<title>Protectia</title>
<link rel="stylesheet" href="style/style.css"/>
<link rel="stylesheet" href="style/menu-style.css"/>
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/jquery.dropdown.js"></script>
</head>
<body>
<h2>Test & Inspections</h2>
<p>Our company specialises in the Design and Periodic Inspecting, Testing and Verification of Electrical Installations of both domestic ( Part P ), commercial and industrial properties. We provide a comprehensive, independent and unbiased report on the condition of your installation. All testing is carried out in accordance with the 17th edition of the IEE Wiring Regulations, BS7671.
Our tests and reports are accepted by all major banks, building societies, councils, insurance companies, health & safety executive and licensing authorities.</p>
<img src="img/certificat.jpg" alt="certificat"/>
</body>
Gdy wstawie w podstronie <li class="aktywny">Galeria</li> w stylach nadam mu kolor to powstaje mi pod menu nowy odnosnik...
Jeśli pomogłem... Dodaj punkt reputacji
http://www.webmastertalk.pl/podstrony-include-t-5667.html
