329 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Located in Albania
  • Has sold $1,000+ on Envato Market
+3 more
Katro says
If you plan to make it fine from first time, i suggest to include a reset.css file and then add yours.

The reset wll fix those and other problems you could have without using it.

Here: http://meyerweb.com/eric/tools/css/reset/
Actually, the reset css is located at the top of the css file.
i think the first-child pseudo code will work here make p:first-child{ margin-top:0; }

Hope will work!

edit: do .preview_text p:first-child{ margin-top:0; }

you can also go with minus!

159 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
peex says
If you plan to make it fine from first time, i suggest to include a reset.css file and then add yours.

The reset wll fix those and other problems you could have without using it.

Here: http://meyerweb.com/eric/tools/css/reset/
Actually, the reset css is located at the top of the css file.
i think the first-child pseudo code will work here make p:first-child{ margin-top:0; }

Hope will work!

edit: do .preview_text p:first-child{ margin-top:0; }

you can also go with minus!

I tested it and that solved the problem:

.preview_text p:first-child {
margin-top:-10px;
}

Just play with negative margin. That’s all.

by
by
by
by
by
by