> ><TD WIDTH=1% BGCOLOR="blue">&nbsp;</TD>
> 
> >This will do what he wants. Table cells don't show up unless there is
> >something in them.
> 
> And looks great.

:)

> Following your teachings, the HR is now:
> 
> <TABLE WIDTH=100%>
> <TR>
> <TD HEIGHT=1% WIDTH=100% BGCOLOR="#0000FF">
> </TR>
> </TABLE>
> 
> It works fine in all three amiga browsers.

Errrr actually, no its not. This is only table code, there's no HR
code.

> A mystery is: add on
> 
> &nbsp;</TD>
> 
> and the horizontal line doubles in thickness,
> leave it off and the line works OK (at least on Amiga) 

Technically, your above example works because of HTML/Browser
strangeness. There is nothing actually IN your <TD> table cell, so it
should not be seen (background colour and all). However it's being
displayed, I think, because of the </TR> which immediately follows it,
which is ... interesting. It's also browser dependant, really.

The reason the height of the cell "doubles" when you put the &nbsp; in
there is that it's larger vertically to accomodate your standard
font, which in this case only amounts to a single space.

Incidentally, HEIGHT=x% in any browser is pretty flaky, really -
Netscape and MSIE support it differently, V I don't recall supporting
it, and I'm not sure about IBrowse. Neil - what does AWeb do with it?

> PS: to help us remember, what does &nbsp; stand for?

Non-breaking space. It basically *forces* the browser to put a blank
space in where it resides in the code. It's normally considered bad
practice to use them to space stuff out, but Shh ... don't tell
anyone. (It's quite legit, IMO, to put it in a table cell to make the
background colour come up though).

Jason
-- 
Jason Murray
Webmaster, www.vapor.com
[EMAIL PROTECTED]

_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>

Reply via email to