+ 1
Can anyone tell me how can I apply inline border in paragraph like <p style='border: 1px red;'>T (but this is not working why )?
like <p style='border: 1px red;'>Text</p>
2 odpowiedzi
+ 3
You didn't put what type of border you want, it should be border:1px solid red;
+ 5
Read lesson 2 of the CSS course again: inline styling is like
<p style='border: 1px red;'>Text</p>
edit:
<p style='border: 1px red dashed;'>Text</p>