![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 27.08.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Mam problem. Otóż, mam szablon CSS kappebeans. I chcę ustawić tło obrazkowe, powtarzające się, ale niestety nie mam pojęcia jak... Oto CSS
Kod body { margin-top: 20px; padding: 0; background: #1F1F1F; font-size: 13px; text-align: justify; color: #5C5116; } body, th, td, input, textarea, select, option { font-family: Arial, Times, serif; } h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; font-weight: normal; color: #819CDB; } h1 { font-size: 36px; } h2 { font-size: 2em; } h3 { font-size: 1em; } p, ul, ol { margin: 0; padding: 0; list-style: none; line-height: 200%; } blockquote { padding-left: 1em; } blockquote p, blockquote ul, blockquote ol { line-height: normal; font-style: italic; } a { color: #413C20; } a:hover { } hr { display: none; } /* Header */ #header { width: 800px; height: 270px; margin: 0 auto; background: url(images/img01.jpg) no-repeat left top; } #header h1, #header p { margin: 0; font-family: Arial, Helvetica, sans-serif; } #header h1 { color: #FFFFFF; font-size: 50px; padding: 90px 0 0 75px; } #header span { color: #58382F; } #header p { margin-top: -5px; padding-left: 80px; font-size: 13px; color: #FFFFFF; } #header a { text-decoration: none; color: #FFB71C; } /* Page */ #page { width: 800px; margin: 0 auto; background: #FFFFFF url(images/img03.jpg) repeat-y left top; } #page-bgtop { background: url(images/img02.jpg) no-repeat left top; } #page-bgbtm { padding: 20px 30px; background: url(images/img04.jpg) no-repeat left bottom; } /* Content */ #content { float: right; width: 500px; padding-top: 90px; margin-bottom: 30px; } .post { padding: 0px 0px 0 0px; } .title { margin: 0; padding-bottom: 5px; font-size: 24px; color: #3B3513; } .title a { text-decoration: none; color: #3B3513; } .pagetitle { border-bottom: 2px solid #0F0F0F; } .byline { margin: -10px 0px 0px 0px; border-bottom: 1px solid #CCCCCC; color: #646464; } .meta { text-align: left; color: #646464; padding: 10px 10px; margin: 30px 0; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: 10px; } .meta .more { padding-left: 10px; } .meta .comments { padding-left: 10px; } .meta a { } .entry { padding: 30px 0px; } .navigation { } .alignleft { float: left; } .alignright { float: right; } .posts { margin: 0; padding: 0; list-style: none; line-height: normal; } .posts li { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #0F0F0F; } .posts h3 { margin: 0; font-weight: bold; } .posts p { margin: 0; line-height: normal; } .posts a { } /* Sidebar */ #sidebar { float: left; width: 200px; margin-top: -80px; padding-top: 50px; color: #B57969; } #sidebar ul { margin: 0; list-style: none; } #sidebar li { } #sidebar li ul { margin-bottom: 40px; } #sidebar li li { border-bottom: 1px solid #FFFFFF; padding: 5px 15px; } #sidebar h2 { margin: 0; height: 35px; padding: 8px 0px 10px 15px; font-size: 18px; color: #FFE7E0; } #sidebar h2 a { } #sidebar a { text-decoration: none; color: #E5DDAD; } #sidebar a:hover { text-decoration: none; } /* Search */ #search input { display: none; } #search input#s { display: block; width: 230px; padding: 2px 5px; border: 1px solid #3DD1FF; } #search br { display: none; } /* Calendar */ #calendar { } #calendar h2 { margin-bottom: 15px; } #calendar table { width: 80%; margin: 0 auto; text-align: center; } #calendar caption { width: 100%; text-align: center; } #next { text-align: right; } #prev { text-align: left; } /* Footer */ #footer { clear: both; width: 100%; margin: 0; padding: 0; text-align: center; font-size: smaller; font-family: Arial, Helvetica, sans-serif; color: #B57969; } #footer p { margin: 0; padding: 20px 0px; text-transform: uppercase; } #footer p a { color: #FFFFFF; } Na pewno nie mogę zmienić: Kod background: url(images/img01.png) no-repeat left top; Kod background: url(images/img02.png) no-repeat left top; Kod background: #FFFFFF url(images/img03.jpg) repeat-y left top; Kod background: url(images/img04.jpg) no-repeat left bottom; Bo wtedy cały szablon legnie w gruzach... Ten post edytował Anubisss 27.08.2009, 19:42:01 |
|
|
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 8 989 Pomógł: 1550 Dołączył: 8.08.2008 Skąd: Słupsk/Gdańsk ![]() |
Co nam po css-ie skoro nie widzimy html-a? Ludzie myślcie!!
Podaj link to się zobaczy o co chodzi. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 27.08.2009 Ostrzeżenie: (0%) ![]() ![]() |
No tak, mój błąd... http://www.krokpokroku.netne.net/
Ten post edytował Anubisss 27.08.2009, 19:49:19 |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 403 Pomógł: 68 Dołączył: 20.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
a może w pierwszych linijkach pliku css do body wpisać background: #1F1F1F url('obrazek.jpg');
edit: oprócz tego musisz wyedytować kilka plików graficznych i zniwelować im ten kolor brązowy, możesz ustawić np. przeźroczystość albo je przyciąć. Ten post edytował f1xer 27.08.2009, 19:51:49 |
|
|
![]()
Post
#5
|
|
Grupa: Moderatorzy Postów: 8 989 Pomógł: 1550 Dołączył: 8.08.2008 Skąd: Słupsk/Gdańsk ![]() |
nie wstawisz tam dobrze byle jakiego tlo bo bedzie widac czarne plamy w miejscach zaokrąglonych rogów.
|
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 27.08.2009 Ostrzeżenie: (0%) ![]() ![]() |
Działa, tylko będę musiał trochę poprawić top (IMG:style_emoticons/default/smile.gif) Dzięki wielkie (IMG:style_emoticons/default/smile.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 25.08.2025 - 15:45 |