![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 311 Pomógł: 25 Dołączył: 29.08.2011 Ostrzeżenie: (0%) ![]() ![]() |
witam mam problem otórz mam taki kod css:
Kod #srodek { overflow:hidden; margin:0px auto; width:50px; min-width:50px; overflow:hidden; margin:0px auto; border-bottom-style:solid; border-bottom-width:3px; border-bottom-color:#2E2E2E; text-align:center; height:30px; border-bottom-left-radius:10px; border-bottom-right-radius:10px; border-top-right-radius:10px; border-top-left-radius:10px; border-top-color:#3C3C3C; border-top-style:solid; border-top-width:3px; word-spacing:5px; } oraz kod html i chciałbym żeby rozszeżał się według textu znajdujacego się w div a mam coś takiego że div jest w 100% i nie chce się zmniejszyc -------------------- Pomogłem daj pomógł
|
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 417 Pomógł: 44 Dołączył: 23.06.2011 Ostrzeżenie: (0%) ![]() ![]() |
eeeee
![]() |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 311 Pomógł: 25 Dołączył: 29.08.2011 Ostrzeżenie: (0%) ![]() ![]() |
bo na długośc to działa jak zmienie to
width:50px; width: auto !important; min-width:50px; na height: 550px; height: auto !important; min-height: 550px; a jak chce na szerokosc to sie nie da od razu daje na width:100% -------------------- Pomogłem daj pomógł
|
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 433 Pomógł: 64 Dołączył: 29.01.2011 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
bo div jest blokiem, daj display:inline;
//EDIT nie na długość, a na wysokość nie otórz, a otóż nie rozszeżał, a rozszerzał no. Ten post edytował prowseed 8.04.2012, 20:58:05 -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 06:18 |