Jump to content

Recommended Posts

Yes Dreamweaver has a code formatting option. I'm on my Linux box so I can't give you the exact steps for what to choose. I know that it's available in the drop down menu bar. I have found that if you have nested tables, it doesn't do a good job of tidying that, so go back through it.

Link to comment
https://forums.phpfreaks.com/topic/63820-tidy-my-code/#findComment-318074
Share on other sites

I am pretty good at organizing my code but I do not use up so much space as professionals do for example if I was making a table I would write it like:

 

<table width="900>

<tr><td>Hello</td></tr>

</table>

 

While pros would write it like:

 

<table width="900>

<tr>

<td>

Hello

</td>

</tr>

</table>

 

Link to comment
https://forums.phpfreaks.com/topic/63820-tidy-my-code/#findComment-318076
Share on other sites

What exactly do you want us to do?

 

All you need do is keep a consistant format. Ive written programs with several thousands of lines of code all in one file.. as long as you indent where expected and keep consistent I don't see the problem. Of course a good text editor helps (Vim).

Link to comment
https://forums.phpfreaks.com/topic/63820-tidy-my-code/#findComment-318080
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.