Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]Blokada przełamania.
czernin
post
Post #1





Grupa: Zarejestrowani
Postów: 62
Pomógł: 0
Dołączył: 14.06.2012

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


Witam,

Mam w stylach takie coś:

Kod
.a {background:url(1.png); display:block; width:200px; height:75px;}
.a:hover {background:url(1_a.png);}
.b {background:url(2.png); display:block; width:200px; height:75px;}
.b:hover {background:url(2_a.png);}
.c {background:url(3.png); display:block; width:200px; height:75px;}
.c:hover {background:url(3_a.png);}
.d {background:url(4.png); display:block; width:200px; height:75px;}
.d:hover {background:url(4_a.png);}


I teraz jak zrobić, żeby obrazki wyświetlały się w wierszu, a nie w kolumnie?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
jepek
post
Post #2





Grupa: Zarejestrowani
Postów: 55
Pomógł: 10
Dołączył: 12.08.2007

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


Musisz zmienić wartość display. Przeanalizuj to i myślę, że sobie poradzisz.
Go to the top of the page
+Quote Post
viking
post
Post #3





Grupa: Zarejestrowani
Postów: 6 380
Pomógł: 1116
Dołączył: 30.08.2006

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


display:inline-block
Go to the top of the page
+Quote Post
czernin
post
Post #4





Grupa: Zarejestrowani
Postów: 62
Pomógł: 0
Dołączył: 14.06.2012

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


Wielkie Wam dzięki, pomogło. Pozdrawiam.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 25.08.2025 - 04:17