| | |
|
|
|
code formatting |
| message from hyedie on 19 Jul 2004 |
My apologies if this question has been asked in the past; however, the 'search'
function on this forum is currently disabled.
I only use Dreamweaver in the 'code' view and only until I created nested
Unordered Lists that this problem started to occur.
Whenever I open my file with the nested <UL>s, the coding for the <UL>s opens
with extra lines spaces and with closing tags on different lines and my
original indentation gone!
Here is an example of what I would like my code to look like (this form
deletes my indentation but you can get an idea):
<TD width="538">
<UL id="nav">
<LI><A HREF="#">Register</A>
<UL>
<LI><A HREF="#">Register for the Boolathon</A><BR /></LI>
<LI><A HREF="#">Pledge a Booler</A></LI>
</UL>
</LI>
<LI><A HREF="#">Pledge a Booler</A>
<UL>
<LI><A HREF="#">Pledge a Friend</A><BR /></LI>
<LI><A HREF="#">Pledge Ghosty McBoo</A></LI>
</UL>
</LI>
<LI><A HREF="#">Event Info</A>
<UL>
<LI><A HREF="#">News</A><BR /></LI>
<LI><A HREF="#">Top 10 Fundraisers</A><BR /></LI>
<LI><A HREF="#">Download a Pledge Sheet</A><BR /></LI>
<LI><A HREF="#">Sponsors</A><BR /></LI>
<LI><A HREF="#">Fundraising Ideas</A><BR /></LI>
<LI><A HREF="#">Pledge a Booler</A><BR /></LI>
<LI><A HREF="#">Register</A><BR /></LI>
<LI><A HREF="#">Submitting Offline Pledges</A><BR /></LI>
<LI>Locations & Times</LI>
</UL>
</LI>
<LI><A HREF="photos.html">Boo-la-thon Pics</A></LI>
<LI><A HREF="#">About Kids Help Phone</A></LI>
</UL>
</TD>
Whenever I open up my file in Dreamweaver it opens up looking like this:
<TD width="538">
<UL id="nav">
<LI><A HREF="#">Register</A>
<UL>
<LI><A HREF="#">Register for the Boolathon</A><BR />
</LI>
<LI><A HREF="#">Pledge a Booler</A></LI>
</UL>
</LI>
<LI><A HREF="#">Pledge a Booler</A>
<UL>
<LI><A HREF="#">Pledge a Friend</A><BR />
</LI>
<LI><A HREF="#">Pledge Ghosty McBoo</A></LI>
</UL>
</LI>
<LI><A HREF="#">Event Info</A>
<UL>
<LI><A HREF="#">News</A><BR />
</LI>
<LI><A HREF="#">Top 10 Fundraisers</A><BR />
</LI>
<LI><A HREF="#">Download a Pledge Sheet</A><BR />
</LI>
<LI><A HREF="#">Sponsors</A><BR />
</LI>
<LI><A HREF="#">Fundraising Ideas</A><BR />
</LI>
<LI><A HREF="#">Pledge a Booler</A><BR />
</LI>
<LI><A HREF="#">Register</A><BR />
</LI>
<LI><A HREF="#">Submitting Offline Pledges</A><BR />
</LI>
<LI><A HREF="#"></A>Locations & Times</LI>
</UL>
</LI>
<LI><A HREF="photos.html">Boo-la-thon Pics</A></LI>
<LI><A HREF="#">About Kids Help Phone</A></LI>
</UL>
</TD>
How can I stop Dreamweaver from reformatting my coding and 'uglifying' it? ;)
Any reason why this is happening? Am I coding something incorrectly?
Dreamweaver's reformatting takes up so much valuable real estate!
Again, sorry if this is a question that has been posted in the past and thank
you in advance for any tips or tricks!
~hyedie
|
|
Archived message: code formatting (Macromedia Dreamweaver Web Design)