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 / 988
  Problem with this code
 
OK, I am trying to make a template page for my site. The basic layout is a 640x800 table with three rows and three columns. The top row is a colspan="3", as is the third row. The second row contains three cells across. The top row contains an (...) (25 years ago, 29-Sep-99, to lugnet.publish)
 
  Re: Problem with this code
 
(...) Try adding HSPACE=0 and VSPACE=0 to your IMG tags. (25 years ago, 29-Sep-99, to lugnet.publish)
 
  Re: Problem with this code
 
Matthew Miller: (...) There are also some similar attributes for the TABLE element, which sets the margin between columns and rows in the table[1]. Play well, Jacob 1) <URL:(URL) ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL:(URL) -- (...) (25 years ago, 29-Sep-99, to lugnet.publish)
 
  Re: Problem with this code
 
(...) to (...) BGCOLOR="#0080c0"> (...) edge (...) The problem is the spaces and line breaks before and after the image. Change the above lines to the following and do the same for the other images: <TR> <TD colspan="3" border="0" WIDTH="640" (...) (25 years ago, 29-Sep-99, to lugnet.publish)
 
  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)
 
  Re: Problem with this code
 
(...) There's no standard for code organization, but indeting seems pretty common. "tidy.exe" from (URL) is great for organizing code in a readable fashion (it can also standardize capitalization, fix illegal HTML, etc.) My only complaint is that it (...) (25 years ago, 30-Sep-99, to lugnet.publish)
 
  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)

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