Groups > Asp .Net > Visual Studio 2005 > Re: Format Document Problem




Format Document Problem

Format Document Problem
Tue, 25 Mar 2008 11:55:45 +000
When I use Format Document on edit menu of Visual Studio 2005. I am facing some
problem.

The nested tables ' s cell are getting problem in vertical alignment.

Any idea.
Post Reply
Re: Format Document Problem
Tue, 25 Mar 2008 18:54:44 +000
Can you provide some more details on what is not aligned?
Post Reply
Re: Format Document Problem
Wed, 26 Mar 2008 04:38:39 +000
Example # 1 is O.K.

 

But

 

Example # 2 displays the data not properly. And it increases the row height.

 

Example # 1

<table>
      <tr>
            <td>SomeText</td>
      </tr>
</table>


Example # 2

<table>
      <tr>
            <td>
                SomeText
            </td>
      </tr>
</table>
Post Reply
Re: Format Document Problem
Thu, 27 Mar 2008 11:59:07 +000
Hi,

Based on my understanding, I guess you want to break line before and after td
tags. If I misunderstood you, please feel free to let me know.

You can try to custom tag formatting by Tools->Options->Text
Editor->Html->Format tab->Click Tag Specific Options->Click Client
HTML Tags->Select td node->Select "Before and after" from Line
Breaks dropdownlist->Click OK, and then you can run Format Document command
to format your table tags.

 

I hope this helps.
Post Reply
about | contact