jak widać nawet w ie dobrze wyświetla.
Chce teraz przejść do korku "pisanie skryptu w php"
Na początek podzieliłem sobie że kod od top do menu jest w pliku header.php
boczne panele w sidebar.php
stopka w footer.php
A treść, czyli lista ofert i newsy są w index.php
W index również są funkcje które łączą w jedną całość:
require("");
Cały plik index.php wygląda tak:
<?php require("manicore.php"); require("header.php"); require("sidebar.php"); ?> <div class="content"> <div class="oferta_bg"> <div id="loadarea"><img src="images/img-ofe-mini/podstawowy.png" width="390" height="144" alt="oferta"></div> <div class="oferta"> <a href="#" rel="enlargeimage" rev="targetdiv:loadarea,link:#" title="images/img-ofe-mini/podstawowy.png"><img src="images/img_18.jpg" width="197" height="43" alt="Podstawowy"></a><br /> <a href="#" rel="enlargeimage" rev="targetdiv:loadarea,link:#" title="images/img-ofe-mini/b-plus.png"><img src="images/img_20.jpg" width="197" height="42" alt="B plus"></a><br /> <a href="#" rel="enlargeimage" rev="targetdiv:loadarea,link:#" title="images/img-ofe-mini/b-comfort.png"><img src="images/img_21.jpg" width="197" height="43" alt="B Comfort"></a><br /> </div> <!-- koniec oferty --></div> <div class="opentable"> <div class="opentable_title"> <span>10.03.2011.r</span> <strong>Lorem Ipsum Dolor Web Site</strong> </div> <div class="opentable_text"> <img src="images/image-news/01.jpg" width="151" height="98" alt="title" align="left" > Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the <a href="#">industry's</a> standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div> </div> <div class="opentable"> <div class="opentable_title"> <span>10.03.2011.r</span> <strong>Lorem Ipsum Dolor Web Site</strong> </div> <div class="opentable_text"> <img src="images/image-news/01.jpg" width="151" height="98" alt="title" align="left" > Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the <a href="#">industry's</a> standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div> </div> <div class="opentable"> <div class="opentable_title"> <span>10.03.2011.r</span> <strong>Lorem Ipsum Dolor Web Site</strong> </div> <div class="opentable_text"> <img src="images/image-news/01.jpg" width="151" height="98" alt="title" align="left" > Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the <a href="#">industry's</a> standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div> </div> </div> <?php require("footer.php"); ?>
I tu jest mój problem w wyświetlaniu. W IE, mozilli i chrome wywala mi to z <head>
<link href="style.css" rel="stylesheet" type="text/css">
do <body> a w operze jest idealnie.
Dlaczego tak się dzieje? na mojej stronie http://gtamoding.pl gdzie jest silnik Extreme Fusion jest ok.
Prosił bym o pomoc