Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

What is the Stylish Extensions code for bring lines of text and paragraphs closer together?

  • 5 respostas
  • 1 has this problem
  • 3 views
  • Last reply by cc71

more options

If I for whatever reason want to change text spacing or say change the spacing between text and a photograph, how would I go about it?

If I for whatever reason want to change text spacing or say change the spacing between text and a photograph, how would I go about it?

Chosen solution

What is the exact code that is used?

Try:

P { margin-top:0px !important; margin-bottom:0px !important; }
Ler a resposta no contexto 👍 0

All Replies (5)

more options

Chosen Solution

What is the exact code that is used?

Try:

P { margin-top:0px !important; margin-bottom:0px !important; }

cor-el modificouno o

more options

Merci beaucoup. Thanks

more options

I tried entering the code that was suggested but it didn't have any effect that I could see. Maybe some websites have built in line spacing settings that you have to take or leave.

more options

That code only works for P tags.
You may have to add a selector for other elements like DIV and SPAN or use BODY, BODY * for all elements, but that may have side effects.
You usually need to inspect the DOM of a page to see what needs to be adjusted to get the best result.

more options

OK thanks