fieldb1
asked on
Indenting in Adobe Dreamweaver
I am using Visual Studio to work on a project and need to mimic the Dreamweaver Indent. How does this look in the code? For example, if indenting a list-item in Dreamweaver looks like this in code:
<li style="text-indent:30px">S ome Item</li>
This is what I would like to see. Thanks.
<li style="text-indent:30px">S
This is what I would like to see. Thanks.
ASKER
Thanks.
When you click the 'Indent' button in the Dreamweaver HTML property editor, what does the HTML code look like? We can continue with the list-item example as above.
When you click the 'Indent' button in the Dreamweaver HTML property editor, what does the HTML code look like? We can continue with the list-item example as above.
I'm mobile so I can't test this yet but my gut feeling is that DW would create a sub-list to indent the list item.
<ul>
<li>item 1</li>
<ul>
<li>item 2</li>
</ul>
</ul>
<ul>
<li>item 1</li>
<ul>
<li>item 2</li>
</ul>
</ul>
ASKER
Thanks, but still not quite what I'm looking for.
Let's say you have an HTML list:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
Now, using Dreamweaver you click the Indent button in the HTML properties panel. What does the HTML code look like after you do that?
I do not use Dreamweaver but I need to mimic the code. Thanks.
Let's say you have an HTML list:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
Now, using Dreamweaver you click the Indent button in the HTML properties panel. What does the HTML code look like after you do that?
I do not use Dreamweaver but I need to mimic the code. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
When you indent something, the code can vary depending on what you are indenting. You can use the blockquote tag, you can add an inline style as the above, you can create a CSS class or ID and there's probably one or two other ways I could think of.