Web designing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Web designing

How to make all p tags inside a div tag text-align : left ; using only inline CSS .Is it possible to do such a thing?

1st Sep 2018, 3:31 PM
Rstar
Rstar - avatar
11 Answers
+ 8
Potato Squad Only using inline CSS (in div tag)
1st Sep 2018, 4:33 PM
Rstar
Rstar - avatar
+ 2
Yes div p { text-align: left; }
1st Sep 2018, 3:54 PM
Potato Squad
Potato Squad - avatar
+ 2
Terry Pointer (Artistic lover) He said *only* inline css...
1st Sep 2018, 6:51 PM
Potato Squad
Potato Squad - avatar
+ 1
oops ummm
1st Sep 2018, 4:34 PM
Potato Squad
Potato Squad - avatar
+ 1
use the text-align :left . simple use class or I'd tag
1st Sep 2018, 6:41 PM
Terry Pointer (Artistic lover)
Terry Pointer (Artistic lover) - avatar
+ 1
Ivan May Wow It has nothing to do with the question
12th Sep 2018, 2:55 PM
Potato Squad
Potato Squad - avatar
0
please . not goin to work
1st Sep 2018, 6:52 PM
Terry Pointer (Artistic lover)
Terry Pointer (Artistic lover) - avatar
0
bagaimana cara menggunakan html
7th Sep 2018, 3:16 AM
Azan Tumangger
Azan Tumangger - avatar
0
use text-align left the inherit for the rest
10th Sep 2018, 5:22 AM
Tass Jomo
0
bro you can use div and call it in css like that:- html page <div id=“test”> css page #test{ } or you can do that without div also like that p{ } hope you like it
15th Sep 2018, 6:19 PM
Dalya Dlshad
Dalya Dlshad - avatar
- 2
HTML is one of the best languages for web designers
12th Sep 2018, 5:50 AM
Ivan May
Ivan May - avatar