Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS][RWD] Textarea na całą stronę
Pyton_000
post 20.02.2017, 18:30:29
Post #1





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


Ma ktoś jakiś dobry i sprawdzony sposób na textarea na całą stronę?

Nie skrypty typu fullscreen tylko czysty CSS.

Chodzi o to że potrzebuję Textarea rozciągnąć 100% width i height a nie za bardzo mi wychodzi.
Go to the top of the page
+Quote Post
trueblue
post 20.02.2017, 18:54:24
Post #2





Grupa: Zarejestrowani
Postów: 6 806
Pomógł: 1828
Dołączył: 11.03.2014

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


Zwykły <textarea>?


--------------------
Go to the top of the page
+Quote Post
Pyton_000
post 20.02.2017, 18:58:43
Post #3





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


tak
Go to the top of the page
+Quote Post
trueblue
post 20.02.2017, 18:59:21
Post #4





Grupa: Zarejestrowani
Postów: 6 806
Pomógł: 1828
Dołączył: 11.03.2014

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


https://jsfiddle.net/at0v286w/


--------------------
Go to the top of the page
+Quote Post
markuz
post 20.02.2017, 19:01:21
Post #5





Grupa: Zarejestrowani
Postów: 1 240
Pomógł: 278
Dołączył: 11.03.2008

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


https://jsfiddle.net/07be79e6/

A tu połączenie:
https://jsfiddle.net/07be79e6/1/

Ten post edytował markuz 20.02.2017, 19:03:05


--------------------
Go to the top of the page
+Quote Post
Pyton_000
post 20.02.2017, 19:04:03
Post #6





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


A z paddingiem ? smile.gif

https://jsfiddle.net/w4u8dpqk/

Dobra mam...
https://jsfiddle.net/07be79e6/2/

Tylko teraz ostatnie pytanie... jak jest dużo treści to czy idzie zrobić żeby przewijała się cała strona a nie tylko textarea? Chodzi o scrool na przeglądarce a nie textarea

Ten post edytował Pyton_000 20.02.2017, 19:07:23
Go to the top of the page
+Quote Post
markuz
post 20.02.2017, 19:14:27
Post #7





Grupa: Zarejestrowani
Postów: 1 240
Pomógł: 278
Dołączył: 11.03.2008

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


http://stackoverflow.com/questions/995168/...-content-length


--------------------
Go to the top of the page
+Quote Post
Pyton_000
post 20.02.2017, 19:32:01
Post #8





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


@markuz przetestowałem i niestety rozwiązania podawane tam powodują miganie co nie jest zadowalające.
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 13.08.2025 - 23:20