Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
rozciągniecie strony - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: xHTML, CSS, JavaScript (https://www.webmastertalk.pl/forum-xhtml-css-javascript)
+--- Wątek: rozciągniecie strony (/thread-rozciagniecie-strony)



rozciągniecie strony - gh0stek - 22-11-2010

Witam,

Mam problem z rozciągnięciem div'a do końca, a mianowicie na górze, po prawej i lewej stronie zostają luki i obrazek nie powtarza się końca.

Kod:
#header {
height:92px;
background-image: url("images/bg_header.gif");
background-repeat:repeat-x;
}

Jakieś sugestie? Smile


RE: rozciągniecie strony - Dhofca - 22-11-2010

Pewnie masz marginesy domyślne ustawione.
Kod:
body {margin:0; padding:0;}



RE: rozciągniecie strony - gh0stek - 22-11-2010

Dzięki!