Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I don't really understand what you're asking (I barely know how to spell "CSS"), so maybe this is way off base. However, you can make your own <indent> in a style sheet. Here is how I do it...
#2: Post edited
- I don't really understand what you're asking (I barely know how to spell "CSS"), so maybe this is way off base. However, you can make your own <code><indent></code> in a style sheet. Here is how I do it:
- <pre>
- indent {
- display: block;
- margin-left: 2em;
- margin-right: 0;
- margin-top: 0;
- margin-bottom: 0;
- background: none;
- }</pre>
I also use indentation heavily to show document tree structure hierarchy. I used to us <code><dl></code> to get nested indentation back when that was the only option. The <code><indent></code> defined in the style sheet is much less klunky and works pretty much as expected.
- I don't really understand what you're asking (I barely know how to spell "CSS"), so maybe this is way off base. However, you can make your own <code><indent></code> in a style sheet. Here is how I do it:
- <pre>
- indent {
- display: block;
- margin-left: 2em;
- margin-right: 0;
- margin-top: 0;
- margin-bottom: 0;
- background: none;
- }</pre>
- I also use indentation heavily to show document tree structure hierarchy. I used to use <code><dl></code> to get nested indentation back when that was the only option. The <code><indent></code> defined in the style sheet is much less klunky and works pretty much as expected.
#1: Initial revision
I don't really understand what you're asking (I barely know how to spell "CSS"), so maybe this is way off base. However, you can make your own <code><indent></code> in a style sheet. Here is how I do it:
<pre>
indent {
display: block;
margin-left: 2em;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
background: none;
}</pre>
I also use indentation heavily to show document tree structure hierarchy. I used to us <code><dl></code> to get nested indentation back when that was the only option. The <code><indent></code> defined in the style sheet is much less klunky and works pretty much as expected.
