x-kom hosting

[CSS][xHTML] Nie powielające się tło

cusek
utworzono
utworzono

Panowie, właśnie próbuję stworzyć swój pierwszy całościowy portal, znaczy się że swoja grafika itd.

Zrobiłem przykładowy szablon aby spróbować pociąć go po Joomle, pociałem, zapisałem z generacją CSS, dzieki programowie topstyle3 lite, zrobiłem z niego divy z tłem, teraz chciałem sprawdzić czy szablon będzie szię powiększał w dół przy większej ilości tekstu i tu ****:/

Wygląda to tak

www.cusek.p14.pl/v2 (adres może czasami nie działać, to lokal server)

Zamieszczam też template_css.css oraz index.html(później bedzie z tego php)

Index:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>rockportalv2</title><meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /><link rel="Stylesheet" type="text/css" href="css/template_css.css" /></head><body style="background-color:#FFFFFF;"><div class="Tabela_01">	<div class="index-01_">	</div>	<div class="index-02_">	</div>	<div class="index-03_">	</div>	<div class="index-04_">	</div>	<div class="index-05_">	</div>	<div class="index-06_">	</div>	<div class="index-07_">	</div>	<div class="index-08_">	</div>	<div class="index-09_">	</div>	<div class="index-10_">	</div>	<div class="index-11_">	</div>	<div class="index-12_">	</div>	<div class="index-13_">	</div>	<div class="index-14_">	</div>	<div class="index-15_">	</div>	<div class="index-16_">	</div>	<div class="index-17_">	</div>	<div class="index-18_">	</div>	<div class="index-19_">	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKS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KKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	</div>	<div class="index-20_">	</div>	<div class="index-21_">	</div>	<div class="index-22_">	</div>	<div class="index-23_">	</div>	<div class="index-24_">	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEE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TTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	STTTTTTEEEEKKKKSTTTTT<br>	</div>	<div class="index-25_">	</div>	<div class="index-26_">	</div>	<div class="index-27_">	</div>	<div class="index-28_">	</div>	<div class="index-29_">	</div>	<div class="index-30_">	</div>	<div class="index-31_">	</div>	<div class="index-32_">	</div>	<div class="index-33_">	</div>	<div class="index-34_">	</div>	<div class="index-35_">	</div>	<div class="index-36_">	</div></div></body></html>

CSS

div.Tabela_01 {	position: absolute;	left: 0px;	top: 0px;	width: 100%;	height: 1024px;	background: #a3a3a3;}div.index-01_ {	position: absolute;	left: 0px;	top: 0px;	width: 45px;	height: 1024px;	background: url(../images/index_01.jpg) repeat;}div.index-02_ {	position: absolute;	left: 45px;	top: 0px;	width: 1000px;	height: 217px;	background: url(../images/index_02.jpg);}div.index-03_ {	position: absolute;	left: 1045px;	top: 0px;	width: 55px;	height: 1024px;	background: url(../images/index_03.jpg) repeat;}div.index-04_ {	position: absolute;	left: 45px;	top: 217px;	width: 279px;	height: 67px;	background: url(../images/index_04.jpg) repeat-x;}div.index-05_ {	position: absolute;	left: 324px;	top: 217px;	width: 440px;	height: 67px;	background: url(../images/index_05.jpg);}div.index-06_ {	position: absolute;	left: 764px;	top: 217px;	width: 281px;	height: 67px;	background: url(../images/index_06.jpg);}div.index-07_ {	position: absolute;	left: 45px;	top: 284px;	width: 10px;	height: 553px;	background: url(../images/index_07.jpg) no-repeat;}div.index-08_ {	position: absolute;	left: 55px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_08.jpg);}div.index-09_ {	position: absolute;	left: 236px;	top: 284px;	width: 51px;	height: 553px;	background: url(../images/index_09.jpg) repeat-x;}div.index-10_ {	position: absolute;	left: 287px;	top: 284px;	width: 27px;	height: 140px;	background: url(../images/index_10.jpg);}div.index-11_ {	position: absolute;	left: 314px;	top: 284px;	width: 450px;	height: 7px;	background: url(../images/index_11.jpg) no-repeat;}div.index-12_ {	position: absolute;	left: 764px;	top: 284px;	width: 39px;	height: 140px;	background: url(../images/index_12.jpg) no-repeat;}div.index-13_ {	position: absolute;	left: 803px;	top: 284px;	width: 49px;	height: 553px;	background: url(../images/index_13.jpg) no-repeat;}div.index-14_ {	position: absolute;	left: 852px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_14.jpg) no-repeat;}div.index-15_ {	position: absolute;	left: 1033px;	top: 284px;	width: 12px;	height: 553px;	background: url(../images/index_15.jpg) repeat-y;}div.index-16_ {	position: absolute;	left: 314px;	top: 291px;	width: 450px;	height: 86px;	background: url(../images/index_16.gif) no-repeat;}div.index-17_ {	position: absolute;	left: 55px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_17.jpg) no-repeat;}div.index-18_ {	position: absolute;	left: 852px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_18.jpg) no-repeat;}div.index-19_ {	position: absolute;	left: 55px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_19.jpg) repeat-x;}div.index-20_ {	position: absolute;	left: 314px;	top: 377px;	width: 4px;	height: 47px;	background: url(../images/index_20.jpg);}div.index-21_ {	position: absolute;	left: 318px;	top: 377px;	width: 446px;	height: 47px;	background: url(../images/index_21.jpg);}div.index-22_ {	position: absolute;	left: 852px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_22.jpg) repeat-x;}div.index-23_ {	position: absolute;	left: 287px;	top: 424px;	width: 516px;	height: 35px;	background: url(../images/index_23.jpg) no-repeat;}div.index-24_ {	position: absolute;	left: 287px;	top: 459px;	width: 516px;	height: 346px;	background: url(../images/index_24.jpg);	font: normal;	color: #ff4500;}div.index-25_ {	position: absolute;	left: 55px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_25.jpg) repeat-x;}div.index-26_ {	position: absolute;	left: 287px;	top: 805px;	width: 516px;	height: 84px;	background: url(../images/index_26.jpg) repeat-x;}div.index-27_ {	position: absolute;	left: 852px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_27.jpg) repeat-x;}div.index-28_ {	position: absolute;	left: 45px;	top: 837px;	width: 191px;	height: 81px;	background: url(../images/index_28.jpg) no-repeat;}div.index-29_ {	position: absolute;	left: 236px;	top: 837px;	width: 51px;	height: 81px;	background: url(../images/index_29.jpg) repeat-y;}div.index-30_ {	position: absolute;	left: 803px;	top: 837px;	width: 49px;	height: 81px;	background: url(../images/index_30.jpg);}div.index-31_ {	position: absolute;	left: 852px;	top: 837px;	width: 193px;	height: 81px;	background: url(../images/index_31.jpg);}div.index-32_ {	position: absolute;	left: 287px;	top: 889px;	width: 516px;	height: 29px;	background: url(../images/index_32.jpg);}div.index-33_ {	position: absolute;	left: 45px;	top: 918px;	width: 1000px;	height: 22px;	background: url(../images/index_33.jpg);}div.index-34_ {	position:absolute;	left:45px;	top:940px;	width:950px;	height:44px;	background: url(../images/index_34.jpg);}div.index-35_ {	position: absolute;	left: 995px;	top: 940px;	width: 50px;	height: 44px;	background: url(../images/index_35.jpg) no-repeat;}div.index-36_ {	position: absolute;	left: 45px;	top: 984px;	width: 1000px;	height: 40px;	background: url(../images/index_36.jpg) no-repeat;}

Da się coś z tym zrobić?

benkowik
komentarz
komentarz

Jeśli masz style CSS to usuń ten kod z HTML i daj w CSS

body { background-color: #FFFFFF) }
cusek
komentarz
komentarz

teraz CSS wygląda tak:

body {background-color: #FFFFFF)}div.Tabela_01 {	position: absolute;	left: 0;	top: 0;	width: 100%;	height: 1024px;	background: #a3a3a3;}div.index-01_ {	position: absolute;	left: 0px;	top: 0px;	width: 45px;	height: 1024px;	background: url(../images/index_01.jpg) repeat;}div.index-02_ {	position: absolute;	left: 45px;	top: 0px;	width: 1000px;	height: 217px;	background: url(../images/index_02.jpg);}div.index-03_ {	position: absolute;	left: 1045px;	top: 0px;	width: 55px;	height: 1024px;	background: url(../images/index_03.jpg) repeat;}div.index-04_ {	position: absolute;	left: 45px;	top: 217px;	width: 279px;	height: 67px;	background: url(../images/index_04.jpg) repeat-x;}div.index-05_ {	position: absolute;	left: 324px;	top: 217px;	width: 440px;	height: 67px;	background: url(../images/index_05.jpg);}div.index-06_ {	position: absolute;	left: 764px;	top: 217px;	width: 281px;	height: 67px;	background: url(../images/index_06.jpg);}div.index-07_ {	position: absolute;	left: 45px;	top: 284px;	width: 10px;	height: 553px;	background: url(../images/index_07.jpg) no-repeat;}div.index-08_ {	position: absolute;	left: 55px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_08.jpg);}div.index-09_ {	position: absolute;	left: 236px;	top: 284px;	width: 51px;	height: 553px;	background: url(../images/index_09.jpg) repeat-x;}div.index-10_ {	position: absolute;	left: 287px;	top: 284px;	width: 27px;	height: 140px;	background: url(../images/index_10.jpg);}div.index-11_ {	position: absolute;	left: 314px;	top: 284px;	width: 450px;	height: 7px;	background: url(../images/index_11.jpg) no-repeat;}div.index-12_ {	position: absolute;	left: 764px;	top: 284px;	width: 39px;	height: 140px;	background: url(../images/index_12.jpg) no-repeat;}div.index-13_ {	position: absolute;	left: 803px;	top: 284px;	width: 49px;	height: 553px;	background: url(../images/index_13.jpg) no-repeat;}div.index-14_ {	position: absolute;	left: 852px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_14.jpg) no-repeat;}div.index-15_ {	position: absolute;	left: 1033px;	top: 284px;	width: 12px;	height: 553px;	background: url(../images/index_15.jpg) repeat-y;}div.index-16_ {	position: absolute;	left: 314px;	top: 291px;	width: 450px;	height: 86px;	background: url(../images/index_16.gif) no-repeat;}div.index-17_ {	position: absolute;	left: 55px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_17.jpg) no-repeat;}div.index-18_ {	position: absolute;	left: 852px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_18.jpg) no-repeat;}div.index-19_ {	position: absolute;	left: 55px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_19.jpg) repeat-x;}div.index-20_ {	position: absolute;	left: 314px;	top: 377px;	width: 4px;	height: 47px;	background: url(../images/index_20.jpg);}div.index-21_ {	position: absolute;	left: 318px;	top: 377px;	width: 446px;	height: 47px;	background: url(../images/index_21.jpg);}div.index-22_ {	position: absolute;	left: 852px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_22.jpg) repeat-x;}div.index-23_ {	position: absolute;	left: 287px;	top: 424px;	width: 516px;	height: 35px;	background: url(../images/index_23.jpg) no-repeat;}div.index-24_ {	position: absolute;	left: 287px;	top: 459px;	width: 516px;	height: 346px;	background: url(../images/index_24.jpg);	font: normal;	color: #ff4500;}div.index-25_ {	position: absolute;	left: 55px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_25.jpg) repeat-x;}div.index-26_ {	position: absolute;	left: 287px;	top: 805px;	width: 516px;	height: 84px;	background: url(../images/index_26.jpg) repeat-x;}div.index-27_ {	position: absolute;	left: 852px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_27.jpg) repeat-x;}div.index-28_ {	position: absolute;	left: 45px;	top: 837px;	width: 191px;	height: 81px;	background: url(../images/index_28.jpg) no-repeat;}div.index-29_ {	position: absolute;	left: 236px;	top: 837px;	width: 51px;	height: 81px;	background: url(../images/index_29.jpg) repeat-y;}div.index-30_ {	position: absolute;	left: 803px;	top: 837px;	width: 49px;	height: 81px;	background: url(../images/index_30.jpg);}div.index-31_ {	position: absolute;	left: 852px;	top: 837px;	width: 193px;	height: 81px;	background: url(../images/index_31.jpg);}div.index-32_ {	position: absolute;	left: 287px;	top: 889px;	width: 516px;	height: 29px;	background: url(../images/index_32.jpg);}div.index-33_ {	position: absolute;	left: 45px;	top: 918px;	width: 1000px;	height: 22px;	background: url(../images/index_33.jpg);}div.index-34_ {	position:absolute;	left:45px;	top:940px;	width:950px;	height:44px;	background: url(../images/index_34.jpg);}div.index-35_ {	position: absolute;	left: 995px;	top: 940px;	width: 50px;	height: 44px;	background: url(../images/index_35.jpg) no-repeat;}div.index-36_ {	position: absolute;	left: 45px;	top: 984px;	width: 1000px;	height: 40px;	background: url(../images/index_36.jpg) no-repeat;}

Więc to tylko zmiana, marginesowa ale dzięki za poprawkę, kolejne pytanie jak wy centrowac layout?

Michass
komentarz
komentarz

W CSS tło pod tekstem spróbuj nadać jako powtarzające się:

background-repeat: y;

//

Co do wycentrowania to w CSS dla body:

width: rozmiar;height: rozmiar;margin: 0 auto;

Pozdrawiam,

Michał

cusek
komentarz
komentarz

Dalej nie to CSS:

body {background-color: #a3a3a3;}div.Tabela_01 {	position: absolute;	left: 0;	top: 0;	width: 100%;	height: 1024px;	background: #a3a3a3;	background-repeat: y;}div.index-01_ {	position: absolute;	left: 0px;	top: 0px;	width: 45px;	height: 1024px;	background: url(../images/index_01.jpg) repeat;}div.index-02_ {	position: absolute;	left: 45px;	top: 0px;	width: 1000px;	height: 217px;	background: url(../images/index_02.jpg);}div.index-03_ {	position: absolute;	left: 1045px;	top: 0px;	width: 55px;	height: 1024px;	background: url(../images/index_03.jpg) repeat;}div.index-04_ {	position: absolute;	left: 45px;	top: 217px;	width: 279px;	height: 67px;	background: url(../images/index_04.jpg) repeat-x;}div.index-05_ {	position: absolute;	left: 324px;	top: 217px;	width: 440px;	height: 67px;	background: url(../images/index_05.jpg);}div.index-06_ {	position: absolute;	left: 764px;	top: 217px;	width: 281px;	height: 67px;	background: url(../images/index_06.jpg);}div.index-07_ {	position: absolute;	left: 45px;	top: 284px;	width: 10px;	height: 553px;	background: url(../images/index_07.jpg) no-repeat;}div.index-08_ {	position: absolute;	left: 55px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_08.jpg);}div.index-09_ {	position: absolute;	left: 236px;	top: 284px;	width: 51px;	height: 553px;	background: url(../images/index_09.jpg) repeat-x;}div.index-10_ {	position: absolute;	left: 287px;	top: 284px;	width: 27px;	height: 140px;	background: url(../images/index_10.jpg);}div.index-11_ {	position: absolute;	left: 314px;	top: 284px;	width: 450px;	height: 7px;	background: url(../images/index_11.jpg) no-repeat;}div.index-12_ {	position: absolute;	left: 764px;	top: 284px;	width: 39px;	height: 140px;	background: url(../images/index_12.jpg) no-repeat;}div.index-13_ {	position: absolute;	left: 803px;	top: 284px;	width: 49px;	height: 553px;	background: url(../images/index_13.jpg) no-repeat;}div.index-14_ {	position: absolute;	left: 852px;	top: 284px;	width: 181px;	height: 59px;	background: url(../images/index_14.jpg) no-repeat;}div.index-15_ {	position: absolute;	left: 1033px;	top: 284px;	width: 12px;	height: 553px;	background: url(../images/index_15.jpg) repeat-y;}div.index-16_ {	position: absolute;	left: 314px;	top: 291px;	width: 450px;	height: 86px;	background: url(../images/index_16.gif) no-repeat;}div.index-17_ {	position: absolute;	left: 55px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_17.jpg) no-repeat;}div.index-18_ {	position: absolute;	left: 852px;	top: 343px;	width: 181px;	height: 34px;	background: url(../images/index_18.jpg) no-repeat;}div.index-19_ {	position: absolute;	left: 55px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_19.jpg) repeat-x;}div.index-20_ {	position: absolute;	left: 314px;	top: 377px;	width: 4px;	height: 47px;	background: url(../images/index_20.jpg);}div.index-21_ {	position: absolute;	left: 318px;	top: 377px;	width: 446px;	height: 47px;	background: url(../images/index_21.jpg);}div.index-22_ {	position: absolute;	left: 852px;	top: 377px;	width: 181px;	height: 428px;	background: url(../images/index_22.jpg) repeat-x;}div.index-23_ {	position: absolute;	left: 287px;	top: 424px;	width: 516px;	height: 35px;	background: url(../images/index_23.jpg) no-repeat;}div.index-24_ {	position: absolute;	left: 287px;	top: 459px;	width: 516px;	height: 346px;	background: url(../images/index_24.jpg);	font: normal;	color: #ff4500;}div.index-25_ {	position: absolute;	left: 55px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_25.jpg) repeat-x;}div.index-26_ {	position: absolute;	left: 287px;	top: 805px;	width: 516px;	height: 84px;	background: url(../images/index_26.jpg) repeat-x;}div.index-27_ {	position: absolute;	left: 852px;	top: 805px;	width: 181px;	height: 32px;	background: url(../images/index_27.jpg) repeat-x;}div.index-28_ {	position: absolute;	left: 45px;	top: 837px;	width: 191px;	height: 81px;	background: url(../images/index_28.jpg) no-repeat;}div.index-29_ {	position: absolute;	left: 236px;	top: 837px;	width: 51px;	height: 81px;	background: url(../images/index_29.jpg) repeat-y;}div.index-30_ {	position: absolute;	left: 803px;	top: 837px;	width: 49px;	height: 81px;	background: url(../images/index_30.jpg);}div.index-31_ {	position: absolute;	left: 852px;	top: 837px;	width: 193px;	height: 81px;	background: url(../images/index_31.jpg);}div.index-32_ {	position: absolute;	left: 287px;	top: 889px;	width: 516px;	height: 29px;	background: url(../images/index_32.jpg);}div.index-33_ {	position: absolute;	left: 45px;	top: 918px;	width: 1000px;	height: 22px;	background: url(../images/index_33.jpg);}div.index-34_ {	position:absolute;	left:45px;	top:940px;	width:950px;	height:44px;	background: url(../images/index_34.jpg);}div.index-35_ {	position: absolute;	left: 995px;	top: 940px;	width: 50px;	height: 44px;	background: url(../images/index_35.jpg) no-repeat;}div.index-36_ {	position: absolute;	left: 45px;	top: 984px;	width: 1000px;	height: 40px;	background: url(../images/index_36.jpg) no-repeat;}
benkowik
komentarz
komentarz

Może nie najlepszy sposób ale zamknij wszystko w jednym divie czyli coś w stylu:

CSS

div.wrapper { text-align:center; }

HTML

<div class="d1">// cały kod strony </div>

* - pisane na szybcika, ewentualnie sam prowadź jakieś poprawki.

cusek
komentarz
komentarz

Temat do zamknięcia, ładowanie z photoshopa to najgorsze co zrobiłem, poskładam go sam:)

Wciąż szukasz rozwiązania problemu? Napisz teraz na forum!

Możesz zadać pytanie bez konieczności rejestracji - wystarczy, że wypełnisz formularz.

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Strona wykorzystuje pliki cookies w celu prawidłowego świadczenia usług i wygody użytkowników. Warunki przechowywania i dostępu do plików cookies możesz zmienić w ustawieniach przeglądarki.