Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Creating a thin vertical line


Message #1 by "Hugh McLaughlin" <hugh@k...> on Wed, 30 Oct 2002 11:27:28
Sorry about the bad link Imar.  However (as always) you were right on the 
money.  I had not defined the cellspacing and padding.

And, as always, your help and contributions is greatly appreciated.

Hugh

> The page you refer to returns a 404, so I can't take a look.

But did you set cellpadding and spacing for the table to 0? If you don't 
this may cause some extra white space around the image.
Also, make sure you don't have a space or a line break in the <td> that 
contains the image.

HtH

Imar


At 11:27 AM 10/30/2002 +0000, you wrote:
>Hello Everyone and thanks for your help in advance.  On many sites, I see
>the use of a thin vertical line to separate panels on a page.  In viewing
>their source code, I typically see that a clear gif is used as a spacer,
>and then a background color is applied.  However, when I try this
>approach, the line is quite thick, even when the image and <td> withs are
>set to 1.  I have an example of my problem posted at:
>
>http://www.famb.org/headers.aspx
>
>The gif I am using is 1x1 pixels.  Most of the examples I see do not
>appear to be using CSS for this effect, so I am not sure what I am doing
>wrong.  Any help would be greatly appreciated.  Thanks.



  Return to Index