![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 12.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
mam galerie zdjec, ktorej uklad wyglada mniej wiecej tak, ze jest pasek boczny z lewej strony (float: left), w ktorym mozna wybrac album, ktory chcemy obejrzec i glowna zawartosc strony. obie czesci w osobnych divach. w glownej czesci wyswietlaja sie miniaturki zdjec, ktore po kliknieciu mozna zobaczyc przy uzyciu lightboxa. to tyle we wstepie ![]() teraz moj problem: chcialbym, w niektorych albumach dodac na dole (ale koniecznie w divie glownym, ktory jest krotszy niz pasek boczny) krotki tekst - cos w desen: "autorem zdjec jest ....". i tu pojawia sie problem - ten tekst pojawia sie na srodku glownego diva (ma ustawione text-align: center), ale ponizej paska bocznego. probowalem juz z pozycjonowaniem relative, absolute, ale pojawia sie kolejny problem, ze w kazdym albumie jest inna ilosc zdjec i ten podpis copyright wypada w innym miejscu. dodam jeszcze, ze miniaturki zdjec sa plywajace (float: left), a uklad miniaturek osiagnalem dzieki daniu glownemu divowi display: table i miniaturkom display: tabl-cell pomozecie? ![]() Ten post edytował jokaj 12.02.2010, 21:50:53 |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Nieautoryzowani Postów: 2 249 Pomógł: 305 Dołączył: 2.10.2006 Ostrzeżenie: (0%) ![]() ![]() |
Pokaż kod/stronę. Szklane kule już nie te co kiedyś
![]() -------------------- Google knows the answer...
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 12.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
tu jest html:
a tu css: Kod body { background-color: #acaefb; font: 10px 'Lucida Grande', Verdana, sans-serif; margin: 0; padding: 0; } .top { font: 11px serif; font-variant: small-caps; height: 150px; margin: 25px 200px 10px 150px; padding: 2px 5px 7px 100px; background: url(../images/logo.gif) left top no-repeat; } a:link { text-decoration: none; color: #1f1f6b; } a:visited { color: #9d0505; text-decoration: none; } a:hover { text-decoration: underline; } .left { float: left; width: 200px; padding-right: 30px; padding-top: 10px; margin-top: 10px; color: #1f1f6b; border-right: 1px solid #1f1f6b; } li { list-style-position: outside; list-style-type: square; margin-bottom: 7px; } div.center { margin: 0 0 20px 230px; padding-left: 20px; padding-right: 0; border-left: 1px solid #1f1f6b; } .center h2 { margin-bottom: 50px; color: #1f1f6b; text-align: center; } .photo img { border: none; padding: 5px; } .photo { float: left; display: table; width: 180px; height: 200px; margin: 25px; border: none; text-align: center; } div.photo a { display: table-cell; vertical-align: middle; } a img { display: block; margin-left: auto; margin-right: auto; } #author { clear: both; text-align: center; } .footer { clear: both; text-align: right; margin-right: 20px; } mysle, ze to cos niecos rozjasni sprawe ![]() |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 16:58 |