0

CSS <p style1> <p style2>

I have a css-style-sheet including p{ color = color1} and html template: <p style="color: color2> text2 </p> <p> text2</p> Works fine with the different color, but now my (stupid) question: how do i get both p in the same line. (I'm not very familiar with html/css)

12th Jan 2021, 10:37 PM
Fu Foy
Fu Foy - avatar
2 Respuestas
+ 9
Use p{ /*Any style applied here affects all p attributes*/ }
12th Jan 2021, 10:39 PM
VṢtēphen
VṢtēphen - avatar
0
a instead of p. Omg I'll sleep a few hours
12th Jan 2021, 10:40 PM
Fu Foy
Fu Foy - avatar