329 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Albania
  • Author Level 3
+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
  • 7 Years of Membership
  • Author Level 4
  • Collector Level 1
  • Exclusive Author
+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