Oto kod:
index.php
- Kod: Zaznacz cały
<html>
<head>
<title>Nazwa</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
<link rel=stylesheet href="style/style.css" type="text/css">
</head>
<body>
<center>
<table border="0" cellspacing="0" cellpadding="0" width="800">
<tr><td colspan="3"><?php include "include/logo.php"; ?></td></tr>
<tr><td colspan="3"><?php include "include/buttons.php"; ?></td></tr>
<tr><td valign="top"><?php include "include/menu_lewe.php"; ?></td>
...itd.
Jak widać, arkusz stylów dołączany jest z odrębnego pliku style.css...
Wszystko jest ok, jeśli za pomocą CSS formatuję powyższy plik, ale problemy pojawiają się kiedy CSS ma sformatować mi includowany plik np. buttons.php
Plik buttons.php wygląda tak:
- Kod: Zaznacz cały
<center>
<a href="index.php?id=form">Kontakt</a>  
<a href="index.php?id=ref">Referencje</a>  
<a href="index.php?id=ofirmie">O firmie</a>  
<a href="index.php?id=pomoc">Pomoc</a>
</center>
Nie wiem co robie źle...może musiałbym w pliku buttons.php dodać:
- Kod: Zaznacz cały
<link rel=stylesheet href="style/style.css" type="text/css">
Mam nadzieje że napisałem w miare zrozumiale
z góry dzięki za pomoc...