![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 23.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam pytanie, czy jest to normalne zachowanie, że element parent (#a) dziedziczy od children (# ![]() #a { background-color: #900; height: 900px; width: 100%; } #b { height: 400px; width: 70%; margin-right: auto; margin-left: auto; background-color: #969; margin-top: 120px; } </style> </head> <body> <div id="a"> <div id="b">Content for id "d" Goes Here</div> </div> Teraz, zamiast marginesu dla #b, #a ma margines. Nie mogę znaleźć info na ten temat, proszę o podpowiedź. Dzięki. |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 14:34 |