To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1005
1004  |  1006
Subject: 
Re: Problem with this code
Newsgroups: 
lugnet.publish
Date: 
Thu, 30 Sep 1999 22:46:56 GMT
Viewed: 
301 times
  
"Linc Smith" <ldsmith@pfc.forestry.ca> writes:
I seem to like the nested indents for organizing my code, but is there
a standard method, or is it personal preference "as long as it works"?

There's no standard for code organization, but indeting seems pretty
common. "tidy.exe" from http://www.w3c.org is great for organizing code
in a readable fashion (it can also standardize capitalization, fix
illegal HTML, etc.)  My only complaint is that it adds spaces to my code
where I don't want them (like in your case).  Does anyone know of a
similar, free program that will not add spaces between images?  (Is the
code for tidy available?  Maybe it wouldn't be to hard to edit...)
--Bram


Bram Lambrecht           / o   o \           BramL@juno.com
-------------------oooo-----(_)-----oooo-------------------
    WWW:   http://www.chuh.org/Students/Bram-Lambrecht/
-----------------------------------------------------------



Message has 1 Reply:
  Re: Problem with this code
 
Bram: The source code for HTML Tidy is available. I think you get the URL if you run it with the "-help" option. You might want to fix the problem with "&amp;" -> "&amp;amp;" too, if you start editing the code. It is really annoying, when it inserts (...) (25 years ago, 1-Oct-99, to lugnet.publish)

Message is in Reply To:
  Re: Problem with this code
 
Thanks to all! Bram got it. It is the line breaks after the <IMG....> that was giving another space under each of the images. I seem to like the nested indents for organizing my code, but is there a standard method, or is it personal preference "as (...) (25 years ago, 30-Sep-99, to lugnet.publish)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR