Oops, I spoke too soon [Was: Re: [NTLUG:Discuss] OT, HTML question]

David Camm dcamm at advwebsys.com
Mon Jan 12 08:34:14 CST 2004


1. create a gif 1 pixel high and one pixel wide in the color you want the border 
to be (or create multiple gifs if you want multiple colors).

2. carefully lay out a table WITHOUT borders that uses these gifs in table cells 
to draw either horizontal (<img src="onepix.gif" width="55"> or vertical (use 
height=) wherever you want.

it's complex and requires that the table cells have a fixed size, but it works.

another alternative is to create very narrow cells with a background color, 
avoiding having to create the gifs.

david camm
advanced web systems

kbrannen at gte.net wrote:
> Stuart Johnston wrote:
> 
>> fredjame wrote:
> 
> ...
> 
>>> The above code works well for browsers like Galeon 1.3.3, and Mozilla 
>>> 1.5, but not for Netscape 4.79 (where the alignment goes south)- so 
>>> for now I am back to not using the borders.  Oh, well, thanks anyway.
>>
>>
>>
>> You could probably get it to work in Netscape 4 with some tweaking but 
>> I guess it is up to you how important it is.
> 
> 
> Maybe or maybe not. :-)  NS 4.x browsers don't handle much of CSS 
> correctly, or so I've found.  I've gone to just ignoring them, saying 
> only Mozilla 1+ or NS6+ or IE5+ supported.  But you may not be able to 
> get away with that.
> 
> There is an O'Reilly book on CSS that is pretty good.  It has a pair of 
> salmon on the front.
> 
> HTH,
> Kevin
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list