Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [html][tables] removing gaps from table cells and rows within css...

From: roland:hadinger:arcor at: 20-May-2004 8:18

Hi MAx, On Thursday 20 May 2004 06:34, Maxim Olivier-Adlhoch wrote: ....
> The strange thing is that if I specify spacing to be 0 in the table > element's html tag for spacing, then it works... I just haven't found an > equivalent in css yet... and I'd prefer to have all looks handling within > the css...
Try: table { ... border-collapse:collapse; } .... this suppresses spacing between table cells.
> also, I was wondering, if it possible to make tables non autolayout (i.e, > each row/column needs to have its size specifically set, which would > potentially make it much cleaner across different browsers).
I found that setting column widths in <colgroup> and row heights inside the <tr> tag doesn't always work reliably especially on older browsers, some of your table content may expand the table... If the thing you want to do its more like a page layout and less like a conventional table, and you don't need the flexible, grid bag layout-like behaviour of tables anyway, it's probably better to use <div> and <span> elements combined with CSS styles instead. BTW: this site seems to have decent online references and tutorials for HTML/CSS... -- R.