Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> div w divie oba z tłem
john_doe
post 8.05.2008, 23:24:38
Post #1





Grupa: Zarejestrowani
Postów: 873
Pomógł: 25
Dołączył: 24.07.2005

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


Witam,

mam diva którego definicja wyglada tak:

  1. #wrapper #pageContentLeft2nd {
  2. width: 779px;
  3. height: 520px;
  4. background: url(../pics/content2.gif) repeat-x;
  5. /*background: url(../pics/galleryBckg.png) repeat-y;*/
  6. margin: 0px;
  7. text-align: center;
  8. font-size: 100%;
  9. float: left;
  10. border: 0px solid red;
  11. }


i np div który chciałbym umieścić w środku pageContentLeft2nd i nadać mu tlo z obrazem
  1. .regulaminLeft
  2. {
  3. width: 318px;
  4. height: 491px;
  5. background: url(images/regulamin_01.gif) no-repeat;
  6. margin: 0 auto;
  7. text-align: center;
  8. font-size: 100%;
  9. float: left;
  10. border: 1px solid red;
  11. }



no i zapodaje to w ten sposob
  1. <div class="pageContentLeft2nd">
  2. <div class="regulaminLeft"<<.div>
  3. </div>

i to mi nie dziala. nie widac tla pod regulaminLeft. O co chodzi?

Ten post edytował john_doe 8.05.2008, 23:25:37
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Wersja Lo-Fi Aktualny czas: 24.07.2025 - 15:38