Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> div w divie oba z tłem
john_doe
post
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
sf
post
Post #2





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

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


Nie działa w każdej przeglądarce? Czy tylko w IE?

Poza tym daj tła z kolorem, będziesz wiedział czy na pewno dobrą ścieżkę do obrazka dałeś:

background: red url(images/regulamin_01.gif) no-repeat;


--------------------
Zapraszam na mój php blog, tworzenie stron.
Go to the top of the page
+Quote Post

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 Aktualny czas: 22.08.2025 - 04:24