0

i tried adding a border to a text but it did not show the border

please help

16th Jan 2021, 12:30 PM
Leon Masango
Leon Masango - avatar
4 Antworten
0
Show your attempt And use this syntax if possible in css Border:47px. Here 47 px is a random value u can change it also
16th Jan 2021, 12:37 PM
Atul [Inactive]
0
You can not set a border to your text, but there is a way to set a stroke: -webkit-text-stroke: 1px black;
16th Jan 2021, 12:40 PM
Qwerty Uiop
Qwerty Uiop - avatar
0
This is what to do and I forget after many year sometimes too. In html <p class="solid"> My border </p> In css p.solid { border-style: solid; color: blue; } Go to m3schools for more on this. I often forget you need the border style even when solid.
16th Jan 2021, 12:55 PM
PjCode
PjCode - avatar
0
Thanks saints this helped a lot
17th Jan 2021, 10:56 AM
Leon Masango
Leon Masango - avatar