View Single Post
Old 08-05-2013, 05:42 AM   #2
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
it would help if you could post some of the code you're working with, but from what i understand of your question, you could assign styles to the children (<p> tags) of a container (a <div>) to save yourself some typing:

css:

Code:
.myDiv p {
	text-indent:0;
	font-style:italic;
}
html:

Code:
<div class="myDiv">
	<p>Some Text</p> <!-- this will have the styles from .myDiv p -->
</div>
mzmm is offline   Reply With Quote