?
Solved

Indenting in Adobe Dreamweaver

Posted on 2012-09-03
6
Medium Priority
?
480 Views
Last Modified: 2012-09-04
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.
0
Comment
Question by:fieldb1
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38361359
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.
0
 

Author Comment

by:fieldb1
ID: 38361444
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.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38361475
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>
0
Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

 

Author Comment

by:fieldb1
ID: 38364496
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.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 38364503
Thanks, but still not quite what I'm looking for.

Actually, it is.  When you highlight a list item and click indent, DW does create a sublist.

What does the HTML code look like after you do that?

For list items, as above.  For other elements, it varies per my original post.
0
 

Author Closing Comment

by:fieldb1
ID: 38364738
Thanks.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question