Theresa Mesa wrote:

>I've actually set up a couple of macros - one to populate the stylesheet in
>and one to populate the page. I fill in the info as needed. I like to
>comment my divs so I know where it begins and ends and avoid the extra div
>tag issue. The comments are in the macro, also.
>
>I use something like this :
>
> <!---  begin wrapper div -->
><div id="wrapper">
>
></div>
><!-- end wrapper div -->
>
>Doesn't add much to the weight of the page and saves me a world of trouble.
>[...]
>  
>
Indeed, - I often do it by hand. Indenting the <div>'s is helpful too.
But my trouble with it is the css bug hunting.
If I have this kind of explaining comments in a page, and I want to 
comment out some parts of it (to see what css in what div is causing 
problems), then I've to destroy all these comments first (and place them 
back later). Otherwise the end of each explaining comment is breaking my 
turn off comment ...

The deleting is easy: "Search and Destroy" in the editor. But to place 
them back: "where was it again?".
The more div's/comments, the more work. ;-)

It should be easy if the next html version would have a "super comment" 
(like "<<!-" and "-->>"), which overrules the normal comments.
But this is OT again, I don't say anything more.

Greetings,
francky

PS: Hé, just found an other way:

    * Inside the explaining comment, use a standard beginning (like:
      <!-- ***- ) and a standard ending (like: -*** --> ).
    * Then you can get them back with Search All ( ***- ) and Replace
      All (by: <!-- ***- ).
      The same for the end of comment. Eureka! :-)



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to