WMD Editor preview newline disppears when using CSS reset
-
29-09-2019 - |
Pergunta
I added WMD Editor as Stackoverflow does, but I have in my css,
*
{
margin: 0px;
padding: 0px;
}
This makes newlines disappear, so there is no more space between lines.
is there anything i can do in css for wmd-preview?
Solução
p { margin:0px 0 10px 0; }
I did this, and it's fine now, hooray!!!!!!!!!!!!!!!!!!!!!!
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow