Can I set up custom paragraph heights that do not effect the normal P tag?
first paragraph
p1/p1
the next paragrap
thanks,
R.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ --
Sure - just make something like either .p1, .p2, etc. classes or #p1, #p2,
etc. id's and write your CSS for each class or id that you want to only
apply to that rule.
Then apply like:
p class=p1some text/p
pnormal paragraph with no special rules/p
p class=p2some text with different rules than
Can I set up custom paragraph heights that do not effect the normal P tag?
first paragraph
p1/p1
You can't make up HTML tags. You have to use only the HTML tags that are
defined in the HTML language itself. (Even XHTML is not really extensible
in common usage.)
You can make up classes or IDs
Ross,
You can also set all p tags within a class or ID.
#content {...}
#content p { padding: .5em 1em; ...}
This will set the rules for any p that is contained in the #content
div, thus saving having to add a class name to every p within the
div.
Jim
On 10/17/05, [EMAIL PROTECTED] [EMAIL