2 problemy z IE. Pierwszy:
Strona
http://optimalcal.pl/index.php wyświetla się po lewej zamiast na środku oraz jak widać newsy mają gdzieś błąd chyba

, bo w HTMLu czysty szablon działa poprawie ;(
Tak to wyglądało oryginalne w szablonie:
<h2 class="title"><a href="#">Tytuł newsa
</a></h2> <div class="entry"> <img src="images/img06.jpg" alt="" width="138" height="93" class="left" /> standards-compliant CSS template designed by
<a href="http://www.nodethirtythree.com/"> NodeThirtyThree
</a> for
<a href="http://www.freecsstemplates.org/"> Free CSS Templates
</a>, released for free under the
<a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5
</a> license. The photos
in this design are from
<a href="http://www.pdphoto.org/"> PDPhoto.org
</a>. You're free to use this template for
anything as long as you link back to
<a href="http://www.freecsstemplates.org/"> my site
</a>. Enjoy :)
</p> <p class="meta"> <span class="posted">Dodał '.$wiersz[3].'
dnia '.$wiersz[4].'
</span> </p> <h2 class="title"><a href="#">Sapien sed varius
</a></h2> <p>Morbi sit amet mauris. Nam vitae nibh eu sapien dictum pharetra. Vestibulum elementum neque vel lacus. Proin auctor dolor et massa. Phasellus sit amet velit. Vestibulum vel lacus vitae tortor consectetuer sapien semper dictum. Integer est felis, facilisis quis, lacinia sed, lacinia et, augue. Vivamus ultrices lacinia urna. Proin varius sollicitudin nunc. Vivamus condimentum, dui nec imperdiet porta, odio risus molestie nisl, nec laoreet purus sapien a massa.
</p> <p class="meta"> <span class="posted">Posted by
<a href="#">Someone
</a> on December 13, 2007
</span> </p> <!-- end #content -->
<div id="content">';
$zapytanie = "SELECT * FROM newsy ORDER BY id DESC LIMIT 3";
$idzapytania = mysql_query($zapytanie);
while ($wiersz = mysql_fetch_row($idzapytania))
{
echo ' <div class="post">
<h2 class="title">'.$wiersz[1].'</h2>
<div class="entry"> <img src="'.$wiersz[5].'" alt="'.$wiersz[1].'" class="left" />
<p>'.$wiersz[2].'</p>
</div>
<p class="meta"><span class="posted">Dodał <strong>'.$wiersz[3].'</strong> dnia '.$wiersz[4].'</p>
</div>
';
}
echo ' <div class="archiwum"><strong><a href="?k=archiwum">...:::Archiwum:::...</a></strong></div>
</div>
Proszę wejdźcie na IE i zobaczcie różnice ;(.
Kolejna sprawa jest taka, że na IE robi pętle i strona się wczytać nie może. A mianowicie jest to napisane tak:
if($_SESSION['admin'] == 'ok')
{
<STRONY DOSTEPNE DLA ZALOGOWANYCH!>
}
else
{
header("Location: index.php"); //przenosimy na strone }
No i IE robi pętle, a na Operze działa bez problemu.
Wie ktoś jak to rozwiązać.