Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]tekst jak ustawić?
liberator15
post
Post #1





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 11.04.2015

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


cześc
jak ustawic tekst z prawej strony i z dołu by niewychodził po za granice czy element?

Ten post edytował liberator15 23.04.2015, 19:12:51
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Kshyhoo
post
Post #2





Grupa: Opiekunowie
Postów: 3 855
Pomógł: 317
Dołączył: 4.01.2005
Skąd: że




Pokaż kod.
Formatowanie tekstu css
  1. <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>

  1. div {
  2. width: 200px;
  3. height: 100px;
  4. background: #ccc;
  5. text-indent: 20px;
  6. white-space: pre-wrap;
  7. overflow: auto; /*visible, hidden, scroll, auto < tu kombinuj */
  8. }
Go to the top of the page
+Quote Post

Posty w temacie


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: 11.10.2025 - 15:08