Gość utworzono 3 sierpnia 2010 utworzono 3 sierpnia 2010 Witam, na stronie nie pojawiają mi się div'y. dlaczego? index.html [code]<?xml version="1.0" encoding="iso-8859-2"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <body background="http://i28.tinypic.com/2wmkltl.png"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> <meta http-equiv="reply-to" content="fraser96@o2.pl" /> <meta name="generator" content="WebSite PRO 4.2" /> <meta name="author" content="FraseR" /> <meta name="description" content="Polski portal na temat gier komputerowych. Tylko u nas naj¶wieższe informacje o grach komputerowych!" /> <meta name="keywords" content="fraser, gry, gra, pc, komputer, internet, strona, strony, fan, newsy, informacje, portal" /> <meta name="robots" content="all, index, fallow" /> <meta name="revisit-after" content="2 days" /> <title>Games Center - portal o grach komputerowych</title> </head> <body> <div id="logo"></div> <div id="menu"></div> <div id="text"></div> <div id="stopka"></div> </body> </html>[/code] style.css [code]{ text-decoration:none; color:#ffffff; } a:hover { color:#ffffff; text-decoration:none; } body {text-align:center; color:#ffffff; } #calosc{ height:100%; margin: 0 auto 0 auto; width:700px; } #logo{ border: 1px solid black; text-align: center; margin-left: auto; margin-right: auto; margin-top: 15px; margin-bottom: 10px; height:100px; float: auto; width:500px; background-image: url(); } #menu{ border: 1px solid black; height:25px; width:700px; margin-top:-16px; background-image: url(); float:left; color:#ffffff; font-family:'arial'; } font-family:'arial'; } #dolna_czesc { margin-top: 1px; margin-bottom: 10px; width: 408px; height: auto; } #text{ border: 1px solid black; text-align: center; margin-left: auto; margin-right: auto; margin-top: -10px; float: auto; height:450px; width:500px; background-image: url(); } #clear { clear: both; } #stopka{ border: 1px solid black; height:30px; width:700px; clear: both; margin-top:-10px; float:left; color:#ffffff; font-size:10px; font-family:'arial'; ; } [/code]
benkowik komentarz 3 sierpnia 2010 komentarz 3 sierpnia 2010 Nie masz podstawowej deklaracji stylów. Dodaj to między <head>: [code]<link rel="stylesheet" href="style.css" type="text/css" /> [/code]
Gość komentarz 3 sierpnia 2010 komentarz 3 sierpnia 2010 [quote name='benkowik' timestamp='1280825931' post='1063620'] Nie masz podstawowej deklaracji stylów. Dodaj to między <head>: [code]<link rel="stylesheet" href="style.css" type="text/css" /> [/code] [/quote] O w d***! Zapomniałem tego dodać, no cóż. Dzięki.
Wciąż szukasz rozwiązania problemu? Napisz teraz na forum!
Możesz zadać pytanie bez konieczności rejestracji - wystarczy, że wypełnisz formularz.