RE: Dreamweaver comment.. a question

by "Mike Kear" <choicemag(at)hotmail.com>

 Date:  Fri, 04 Feb 2000 01:18:15 EST
 To:  timv(at)pointonline.net,
hwg-techniques(at)hwg.org
  todo: View Thread, Original
Yes, the file you want is SourceFormat.profile for DW2 or SourceFormat.txt 
for DW3 and its in the configuration folder if you have a default 
installation.

For each tag you are interested in there is a setting like:

<p break="1,0,0,1" indent>

Which means - when you format, for <p> tags, put in a line break (i.e. make 
sure all <p> tags get a new line), with 1 new line before the <p>,  no new 
lines after the <p>,  no new lines before the </p> and one line break after 
the </p> and the indent says you want the content indented on lines between 
teh <p> and </p>.

<p>So this means that a paragraph will appear in your formatted html listing 
like this.</p>
<p>So this means that a paragraph will appear in your formatted html listing 
like this.</p>
<p>So this means that a paragraph will appear in your formatted html listing 
like this.</p>

It you had it set to  <p break="2,1,0,1" indent>

you'd get this:


<p>
  So this means that a paragraph will appear in your formatted html listing 
like this.</p>

<p>
So this means that a paragraph will appear in your formatted html listing 
like this.</p>

<p>
So this means that a paragraph will appear in your formatted html listing 
like this.</p>

And you can set these parameters with any tag, allowing you to lay your code 
out however you like.  And just by copying SourceFormat.txt to other 
computers, other copies of Dreamweaver will produce code laid out exactly 
the same as yours.

Hope this helps.

MikeKear
AFP Web Development
Windsor, NSW, Australia
http://www.afp.zip.com.au

>From: "Tim \(Pointonline\)" <timv(at)pointonline.net>
>To: "Mike Kear" <choicemag(at)hotmail.com>
>Subject: RE: Dreamweaver comment.. a question
>Date: Thu, 3 Feb 2000 05:20:49 -0600
>
>OK,
>I will do that. My main question was on the formatting of the html code. I
>remember there was a file that did this and a certain 3 or four number
>setting that you changed. I would just like to know the name and location 
>of
>the file and what you change it to for the layout you described below.
>Take Care,
>Tim Verpoorten
>PGP Key <http://www.pointonline.net/timv/verpoorten.asc>
>
>
>-----Original Message-----
>From: Mike Kear [mailto:choicemag(at)hotmail.com]
>Sent: Thursday, February 03, 2000 3:57 PM
>To: timv(at)pointonline.net
>Subject: Re: Dreamweaver comment.. a question
>
>
>
>Glad to help.   First of all, look in the help files on   "customising
>dreamweaver" so you know the basics.
>
>Then open your favourite newsreader and log onto news.macromedia.com and
>join in the DW newsgroups.  You'll see a wealth of information there,
>including references to many sites set up for exchanging add-ons and these
>kinds of things.  (I'd be more than happy to let you have mine, but I'm not
>at my office right now and don't have access to those files here).
>
>Next week I'll help you with the files if you remind me.  But the above
>ought to get you started.
>
>Cheers,
>Mike Kear
>AFP Web Development
>Windsor, NSW, Australia
>http://www.afp.zip.com.au
>
> >From: "Tim (Pointonline)" <timv(at)pointonline.net>
> >To: <choicemag(at)hotmail.com>
> >Subject: Dreamweaver comment.. a question
> >Date: Wed, 2 Feb 2000 15:47:10 -0600
> >
> >I read you message on the HGW listserver reference to Dreamweaver.
> >
> >I have set up the parameters for HTML formatting, so when the code is
> >laid
> >
> >out it looks consistent - every table with a standard format, standard
> >
> >indents, each new <TR> on a new line, each <TD> indented 3 spaces from
> >its
> >
> ><TR> etc. I've set it so every <p> will have a </p> too, and dozens of
> >
> >other little things like that, to make the code look professional and be
> >
> >easy to work with.
> >
> >This is exactly what I wanted to do to my DW3 version, but I am not sure
> >where to look and what to do... would you be so kind as to lend me a
> >hand, or an example?
> >
> >I appreciate it.
> >
> >Take Care,
> >Tim Verpoorten
> >PGP Key
> >
> >
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA