Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [HTML][PHP]Problem z przerwami między div'ami
Forum PHP.pl > Forum > Przedszkole
jarsonpl
Witam
Mam pewien problem, otóż na moim komputerze przerwy między div'ami mają kolor podany w podstawie strony. Kiedy całość wrzucam na hosting to są one koloru białego.
Jestem początkujący i wiem, że jest tam pełno błędów haha.gif proszę nie krzyczcie biggrin.gif
Góra to panel logowania, skopiowany z facebooka.







CODE
html, body {
background-color: #e9eaed;
color: white;
margin: 0;
padding: 0;
}



#TRESC1 {
float:right;
width:64%;
margin-bottom:4%;
height: auto;
border-radius: 6px;
background-color: white ;
color: #3B5998;
}

#TRESC2 {
float:right;
width:64%;
margin-bottom:4%;
height: auto;
border-radius: 6px;
background-color: white ;
color: #3B5998;
}


#TRESC3 {
float:right;
width:64%;
margin-bottom:4%;
height: auto;
border-radius: 6px;
background-color: white ;
color: #3B5998;
}


#INSTRUKCJA {
float:right;
width:64%;
margin-bottom:4%;
height: auto;
border-radius: 6px;
background-color: #3B5998 ;
color: white;
}


.container1 {
float:right;
width: 13%;
height: 3000px;
background-color: #e9eaed;
}



.container2 {
float:left;
width: 13%;
height: 3000px;
background-color: #e9eaed;
}










CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<title>Dudi noob</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>




<link type="text/css" rel="stylesheet" href="./index_files/e5GQggOUR83.css">
<link type="text/css" rel="stylesheet" href="./index_files/6-JNyq6tKkH.css">
<link type="text/css" rel="stylesheet" href="./index_files/x3bsMJyVkPp.css">
<link type="text/css" rel="stylesheet" href="./index_files/FL7e8-AB8D-.css">
<link type="text/css" rel="stylesheet" href="./index_files/BWTPhCggTJ6.css">

<!--- W tym miejscu jest panel logowania z facebook'a, ale się nie zmieścił biggrin.gif --->




<div class="container2"></div>
<div class="container1"></div>





<div id="INSTRUKCJA"> <center> <p> <font size="5"> <b> Log in for vote! <p> </div>


<div id="TRESC1"> <center> <p> <font size="5"> <b> Alexis Edwards</font> <p> <img src="foto/1.jpg" alt="1" width="70%" height="35%" /> <p> <input type="checkbox" name="Vote for her!" value="1" id="pole1" /> <label for="pole1">Vote for her!</label> </div>

<div id="TRESC2"> <center> <p> <font size="5"> <b> Flores Jones </font> <p> <img src="foto/2.jpg" alt="2" width="70%" height="35%" /> <p> <input type="checkbox" name="Vote for her!" value="1" id="pole2" /> <label for="pole2">Vote for her!</label> </div>

<div id="TRESC3"> <center> <p> <font size="5"> <b> Morgan Martinez </font> <p> <img src="foto/3.jpg" alt="3" width="70%" height="35%" /> <p> <input type="checkbox" name="Vote for her!" value="1" id="pole3" /> <label for="pole3">Vote for her!</label> </div>







</body>
</html>









Link do strony na cba.pl testowypiotr.cba.pl

tutaj jeszcze screeny biggrin.gif
http://static.pokazywarka.pl/bigImages/307....jpg?1405257771 - Chcę aby tak to wyglądało

http://static.pokazywarka.pl/bigImages/307....jpg?1405257771 - Tak wygląda na hostingu
trueblue
Najpierw pozamykaj tagi. Masz pootwierane P, B, FONT, a nie są zamknięte.
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.