View Single Post
Old 03-21-2007, 10:04 PM  
Sultry_Selenia
Confirmed User
 
Join Date: Jul 2006
Posts: 337
I'm not exactly a css guru, but

Code:
body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p, form{
	margin: 0;
	padding: 0;
}
What you want to do is seperate your text elements out from the body element so that you can define those seperately (like break off h1, h2, p, etc into their own section)

so would end up something like
Code:
h1, h2, p, etc etc {
margin: 0;
padding: 0;
text-align: left;
and you would put whatever styles you want to the body in a seperate section in the css.
and that way you're defining the alignment of the text elements completely seperate from the body or any other div.

And hopefully this makes some sort of sense, I know enough css to be dangerous, but not always enough to be completely clear haha

Last edited by Sultry_Selenia; 03-21-2007 at 10:06 PM..
Sultry_Selenia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote