![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 5.04.2018 Ostrzeżenie: (0%) ![]() ![]() |
Cześć mam problem z elementami jeden pod drugim w CSS.
Problem w tym, że dodaje mi suwak na długość elementu header i nie potrafię sobie z tym poradzić. |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 146 Pomógł: 19 Dołączył: 1.03.2012 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 5.04.2018 Ostrzeżenie: (0%) ![]() ![]() |
Usunęło dolny suwak, ten z boku nadal jest.
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 6 806 Pomógł: 1828 Dołączył: 11.03.2014 Ostrzeżenie: (0%) ![]() ![]() |
<aside> ma 100% wysokości. Więc razem z <header> mają więcej.
-------------------- |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 5.04.2018 Ostrzeżenie: (0%) ![]() ![]() |
Wiem o tym, ale jak to zrobić z tym paddingiem w header.
|
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 6 806 Pomógł: 1828 Dołączył: 11.03.2014 Ostrzeżenie: (0%) ![]() ![]() |
A jaki chcesz efekt osiągnąć?
-------------------- |
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 5.04.2018 Ostrzeżenie: (0%) ![]() ![]() |
No żeby nie dodawało suwaka po boku jeśli mam ten header i aside oraz żeby aside było do końca strony (tak jak height 100%).
|
|
|
![]()
Post
#8
|
|
Grupa: Zarejestrowani Postów: 6 806 Pomógł: 1828 Dołączył: 11.03.2014 Ostrzeżenie: (0%) ![]() ![]() |
Ale jeśli treści w <aside> lub <main> będzie dużo to ma być suwak, tak? Jeśli tak, to poszukaj w Google pod hasłem: sticky footer.
-------------------- |
|
|
![]()
Post
#9
|
|
Grupa: Zarejestrowani Postów: 146 Pomógł: 19 Dołączył: 1.03.2012 Ostrzeżenie: (0%) ![]() ![]() |
Problem w tym, że dodaje mi suwak na długość elementu header i nie potrafię sobie z tym poradzić. Pisałeś tylko o header. Co do bocznego paska to:
P.s. Osobiście nadal nie wiem jaki ma być efekt końcowy ![]() |
|
|
![]()
Post
#10
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 5.04.2018 Ostrzeżenie: (0%) ![]() ![]() |
Chodzi o to, że chce u góry strony menu (header) i pod nim z lewej strony menu (aside) i żeby aside był do końca strony (tak jakby 100%) ale bez suwaków.
|
|
|
![]()
Post
#11
|
|
Grupa: Zarejestrowani Postów: 146 Pomógł: 19 Dołączył: 1.03.2012 Ostrzeżenie: (0%) ![]() ![]() |
Zmieniłeś aside na fixed?
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 15:33 |