Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
css/html question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="theDarkStranger" data-source="post: 689405" data-attributes="member: 60737"><p>HHhhhhmmm.. You could use indenting. </p><p></p><p>Here is an example showing the embedded (HEAD) code to create a proper indenting. In this case, anything within a <p> tag area.</p><p>[CODE]<style type="text/css"></p><p><!--</p><p>p {text-indent: 1in;}</p><p>--></p><p></style>[/CODE]</p><p></p><p>Here is an example using a CLASS to declare a general indent property that can be used by any tags in the BODY area. A DIV tag is being used for the example.</p><p>HEAD area [CODE]<style type="text/css"></p><p><!--</p><p>.tab {text-indent: 1in;}</p><p>--></p><p></style>[/CODE]</p><p></p><p></p><p>BODY area [CODE]<div class="tab"></p><p>This line of text is indented by one inch.</p><p></div></p><p>This line of text is not indented.[/CODE]</p><p></p><p>The value of text-indent can be specified as inches (in), centimeters (cm), or pixels (px).</p><p></p><p>To create the first line of text with an overhang (negative indent) a negative number can be used for the value.</p><p></p><p>Is that what you were referring to? If not then maybe I'm just having one of those days. lol.</p></blockquote><p></p>
[QUOTE="theDarkStranger, post: 689405, member: 60737"] HHhhhhmmm.. You could use indenting. Here is an example showing the embedded (HEAD) code to create a proper indenting. In this case, anything within a <p> tag area. [CODE]<style type="text/css"> <!-- p {text-indent: 1in;} --> </style>[/CODE] Here is an example using a CLASS to declare a general indent property that can be used by any tags in the BODY area. A DIV tag is being used for the example. HEAD area [CODE]<style type="text/css"> <!-- .tab {text-indent: 1in;} --> </style>[/CODE] BODY area [CODE]<div class="tab"> This line of text is indented by one inch. </div> This line of text is not indented.[/CODE] The value of text-indent can be specified as inches (in), centimeters (cm), or pixels (px). To create the first line of text with an overhang (negative indent) a negative number can be used for the value. Is that what you were referring to? If not then maybe I'm just having one of those days. lol. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
css/html question
Top