br tags | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

br tags

I want to adjust the text without br tags in a panel. how can I?

21st Sep 2016, 3:35 AM
Ahmed Kamal
Ahmed Kamal - avatar
5 Answers
0
use pre tag
21st Sep 2016, 4:38 AM
Habib Ur Rehman
Habib Ur Rehman - avatar
0
bhai rehman koi aor soln. bhi ha ya nahi
21st Sep 2016, 8:19 AM
Ahmed Kamal
Ahmed Kamal - avatar
0
yes but you have two ways: 1) use a css3 property called word-wrap and assign the value to break-word; 2) or you can set the overflow to auto. Example 1: <style> p{ word-wrap: break-word; } </style> Example 2: <style> p{ overflow: auto; } </style>
24th Sep 2016, 4:07 AM
degreerichi
degreerichi - avatar
0
thanx triminio I try it and let you know about the result
24th Sep 2016, 5:56 AM
Ahmed Kamal
Ahmed Kamal - avatar
0
pre is like br. it as also been prohibited by my teachers.
26th Sep 2016, 3:37 AM
Ahmed Kamal
Ahmed Kamal - avatar