Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[css] Problem z tłem
#1
Mam pytanie tworzę stronę i chiałam jak zawsze zrobić tło w css to znaczy w tym wypadku logo strony miało być tłem nagłówka wpisałam to co zawsze wpisuję i nic do piero po wpisaniu tekstu ukazuje się tło czy to tak powinno być czy też coś sknociłam z resztą sami ocencie.
XHTML
Kod:
<!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" lang="pl" xml:lang="pl">


<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-2" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="index, follow" />
<meta name = "author" content = "Marta Majchert"/>
<meta name = "keywords" content = "sklep internetowy, ALE RAJ, prezenty, świeczki"/>
<link rel="stylesheet" href="mojstyl.css" type="text/css" />

<title>Sklep internetowy - ALE RAJ - WITA!!!</title>
</head>
<body>
<div id="tlo">
<div id="srodek">
<div id="naglowek">

</div>
<div id="menu"> </div>
<div id="tresc"></div>
<div id="aktualne"></div>
<div id="stopka"></div>
</div>
</div>
</body>
</html>

Css
Kod:
body {background-color: #4671D5; text-align:center;}
#tlo {
    width:1000px;
    margin:0 auto;
}
#srodek {
    background-color: blue;
    text-align: justify;
    height: auto;
    text-decoration: none;
    text-indent: 0,5cm;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    width: 800px;
    position: relative;}
#naglowek  {
    margin: 0;
    position: absolute;
    background-imge: url(logo.gif);
    }
A logo zdjęcie jest w załaczniku


Załączone pliki
.gif   logo.gif (Rozmiar: 13.38 KB / Pobrań: 8)
Odpowiedz


Wiadomości w tym wątku
[css] Problem z tłem - przez informatyczka2010 - 03-01-2010, 20:20
RE: [css] Problem z tłem - przez Kamil - 03-01-2010, 20:30
RE: [css] Problem z tłem - przez informatyczka2010 - 03-01-2010, 20:39
RE: [css] Problem z tłem - przez Kamil - 03-01-2010, 20:53
RE: [css] Problem z tłem - przez informatyczka2010 - 03-01-2010, 20:57
RE: [css] Problem z tłem - przez Kamil - 03-01-2010, 21:05
RE: [css] Problem z tłem - przez informatyczka2010 - 04-01-2010, 03:02

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  problem z tłem pod menu loose 1 3,157 06-07-2017, 20:00
Ostatni post: loose
  [XHTML]Problem z Tłem sestems 6 5,308 30-06-2011, 21:04
Ostatni post: sestems
  Dwie kolumny z jednym tłem w CSS. groobyy88 5 5,040 30-05-2011, 02:07
Ostatni post: groobyy88
  Problem z tłem dla strony. Falco91 8 6,326 21-05-2011, 04:56
Ostatni post: mateo
  Problem z tłem przy zmniejszeniu okna przeglądarki betamat 8 6,204 31-03-2011, 16:54
Ostatni post: Kartofelek

Skocz do:


Użytkownicy przeglądający ten wątek:
Sponsorzy i przyjaciele
SeoHost.pl