Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS][HTML]Html5 i CSS3
mrk9109
post
Post #1





Grupa: Zarejestrowani
Postów: 445
Pomógł: 3
Dołączył: 4.06.2010

Ostrzeżenie: (0%)
-----


Witam po 7 letniej przerwy wracam do stron poniewaz potrzebuje zrobic dla pracy swoja strone czytalem duzo o html5 i css3 i mam pytanie dlaczego zawartosc ponizej header mi sie nie wyswietla ?
Html:
http://wklej.org/id/1930131/
Css:
http://wklej.org/id/1930132/
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mrk9109
post
Post #2





Grupa: Zarejestrowani
Postów: 445
Pomógł: 3
Dołączył: 4.06.2010

Ostrzeżenie: (0%)
-----


Dalej nie ma menu pod headerem i mam stala height juz tyle ile ma tylko size 100% dla tego ze chce by bylo dopasowane do rozdzielczosci gdzie mam teraz blad ? przepraszam za tyle zamętu
  1. <!DOCTYPE html>
  2. <html lang="pl-PL">
  3. <head>
  4. <title>Tytuł</title>
  5. <meta charset="utf-8">
  6. <meta name="description" content="opis">
  7. <link rel="icon" href="..." type="image/x-icon">
  8. <link href="css/main.css" rel="stylesheet" type="text/css" />
  9. <!-- [if lt IE 9]>
  10. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
  11. <![endif-->
  12. </head>
  13. <body>
  14. <header id="header">
  15. nagłówek
  16. <nav id="menu">
  17. nawigacja menu
  18. </nav>
  19. </header>
  20. <main>główna treść</main>
  21. <aside>boczna treść, jeśli potrzebna</aside>
  22. <footer>stopa</footer>
  23. </body>
  24. </html>

Kod
#header {
    background-image: url(../images/header.png);
    background-size: 100%;
    background-repeat: no-repeat;      
    height: 656px;
}  
#nav {
    background-image: url(../images/nav.png);
    width:100%;
    height: 79px;    
    margin-top: 10%;
}
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.10.2025 - 15:35