-
1. Re: Decrease space between <p> tags
Nancy O. Mar 17, 2011 11:08 AM (in response to rigoliarts)p {
margin: 0;
padding: 0;
line-height: 1;
}
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
2. Re: Decrease space between <p> tags
rigoliarts Mar 17, 2011 11:58 AM (in response to Nancy O.)So, does this go up in the head area of the code? And so defines the p tags for the whole page? Or do I insert this in the body? And defines the p tags for only specified paragraphs?
-
3. Re: Decrease space between <p> tags
Nancy O. Mar 17, 2011 12:19 PM (in response to rigoliarts)So, does this go up in the head area of the code? And so defines the p tags for the whole page?
If that's what you want, yes.
Ideally, External Style sheets should be used for site-wide styles.
Embedded CSS (in the head) is for page specific styles.
Inline CSS (in the body) is for HTML E-Mails or in rare cases when you need to overwrite a style from somewhere else.
I find it really helps to keep all my Text Styles in my External Style Sheet where I can find them quickly.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
4. Re: Decrease space between <p> tags
rigoliarts Mar 17, 2011 12:26 PM (in response to Nancy O.)Okay, thanks for clearing this up. Much appreciated.
-
5. Re: Decrease space between <p> tags
Nancy O. Mar 17, 2011 1:03 PM (in response to rigoliarts)You're welcome. I'll assume this question has been answered.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb


