What is the proper way to indent text in xhtml?

Zoid

New Member
Two different sources gave me two different answers. I want to make sure is is xhtml compliant.
 

adamblan

New Member
xhtml has nothing to do with it, other than providing the DOM for your css & js to style. Indentation (& every other style) should be managed with a linkd/imported css document. If you just want to indent the first line of each paragraph, you'll need js to select p:firstChild and apply the css rule to that...
 
Last edited:
Top