Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [html]css strona zmienia wyglad w IE
Forum PHP.pl > Forum > Po stronie przeglądarki
gudzisko
Witam serdecznie, nie wiem co tusie dzieje i jak to zmienic ale mam strone napisana tak:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<title>Tarnowski Portal Ogłoszeniowy</title>
<style type="text/css">
body{
font-family:Arial, Helvetica, sans-serif;
background: url(grafika/body.jpg) repeat left top;
margin:0px;
padding: 10px 00 0 0px;
font: 12px Georgia, "Times New Roman", Times, serif;
font-color: #6495ED;
}
.calosc{
float:top;
margin:auto;
width:900px;
height:auto;

}
.goraleft{
float:left;
margin:auto;
width:300px;
height:35px;
background: url(grafika/logogora.png) no-repeat left top;
}

.goracenter{
float:left;
margin:auto;
width:300px;
height:35px;
background: url(grafika/logogora.png) no-repeat top;
font: 11px Georgia, "Times New Roman", Times, serif;
color: white;
}

.goraright{
float:right;
margin:auto;
width:300px;
height:35px;
background: url(grafika/logogora.png) no-repeat right top;
font: 11px Georgia, "Times New Roman", Times, serif;
color: white;
}

.logo{
float:left;
margin:auto;
width:900px;
height:140px;
background: url(grafika/logo.jpg) no-repeat right top;
}

.dolleft{
float:left;
margin:auto;
width:240px;
height:40px;
background: url(grafika/logodol.png) repeat left top;
font: 11px Georgia, "Times New Roman", Times, serif;
color: white;
}

.dolright{
float:right;
margin:auto;
width:660px;
height:40px;
background: url(grafika/logodol.png) repeat right top;
font: 11px Georgia, "Times New Roman", Times, serif;
color: white;
}

</style>
</head>
<div class="calosc">

<div class="goraleft">
<?php include("podstrony/logogora.php"); ?>
</div>

<div class="goracenter">
<?php include("podstrony/logogoracenter.php"); ?>
</div>

<div class="goraright">
<?php include("podstrony/logogoraright.php"); ?>
</div>

<div class="logo">
<?php include("podstrony/logo.php"); ?>
</div>

<div class="dolleft">
<?php include("podstrony/logodol.php"); ?>
</div>

<div class="dolright">
<?php include("podstrony/odnosniki.php"); ?>
</div>
</div>

</body>
</html>


w Firefoxie wyglad tak jak ma byc a w IE robia sie takie luki na łaczeniach o co chodzi questionmark.gif co trzeba zrobic??
pozdrawiam
patryczakowy
Daj może linka do strony albo pokaż te pliki które są includowane
gudzisko
http://gudzisko-testy.unl.pl/index.php to jest srtona z tym przyladem, chodzimo o ta przerweco pojawia siepod logiem (czyli ta kobieta na zdjecu)

wfirefoxie nie ma tej przerwy, a w IE juz jest
ucho
Masz 6 razy znacznik <body> - to cud, że jakakolwiek przeglądarka coś wyświetla ...
erix
Nie tak się łączy wiele stron w jedną. winksmiley.jpg

Proponuję lekturę kursu HTML i objęcie listingu w odpowiednie bbcode.
gudzisko
to jednak nie <body>

erix jeslitylko moglbys pomoc to powiedz co trzeba zmienic questionmark.gif
Spawnm
masz kilka <html> większość kodu jest po za <body>,
popraw to wszystko , i wtedy pogadamy.
(jak includujesz plik html to w nim nie dajesz już html i body)
gudzisko
oki wszystko poprawione,

http://gudzisko-testy.unl.pl/index.php

Spawnm, dziekuje za uwage odnosnie include
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.