开发者

Overide automatic padding with text?

whenever I'm using the p tag (or h1 etc. for tha开发者_运维问答t matter) there is always some spacing between each element. I've tried to overcome this by using padding:0; in a stylesheet but the spacing still remains. Thank you


margin:0;

But the best option is to use a reset.css to default all elements out.

http://meyerweb.com/eric/tools/css/reset/


Try to also set the margin to 0.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜