CSS it's this little thing that bothers me - | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

CSS it's this little thing that bothers me -

On this code, if u click on the ' sign in ' , you'll see the ' forgot password? ' option. And I don't like how the right and left borders are far from the text. I want them to get closer to the text, but I don't know what __ to use. Tried padding:-100px, I can't find that works. if u know what to use in this please let me know: https://code.sololearn.com/W74zppj0I2MF/?ref=app

16th Jun 2019, 5:18 AM
Ginfio
Ginfio - avatar
2 Answers
+ 3
Somewhat of a workaround, but try removing the "border-left" and "border-right" properties from your CSS and add "<span style="color: red">|</span>" on either side of "forgot your login?" in your HTML.
16th Jun 2019, 5:33 AM
Jackson Oā€™Donnell
+ 1
16th Jun 2019, 5:34 AM
Ginfio
Ginfio - avatar