Link to home
Start Free TrialLog in
Avatar of fieldb1
fieldb1Flag for United States of America

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">Some Item</li>

This is what I would like to see. Thanks.
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Not sure I understand the question.

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.
Avatar of fieldb1

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.
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>
Avatar of fieldb1

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.
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fieldb1

ASKER

Thanks.