On Tuesday 19 September 2006 03:39 am, Niklas Nebel wrote:
> Lars Rasmussen wrote:
> > I have just recently started using openoffice on my new PC
> > instead of installing MS office. I have some XLS files with
> > tables and formulas that i'm used to save diretly as html files
> > in excel and upload to my website. I opened those files in Calc
> > and save in this format. Then i tried to save the files as HTML
> > file, but the borders are missing in all tables. I only have 1
> > tablke where the horisontal lines are present in the html output.
> > Then i tried to rebuild the tables in calc from scratch, and save
> > them as html, but with exactly the same missing borders and
> > vertical lines.
> > Is tested with IE7RC1, Firefox 2 Beta and Opera 9.01. Same result
> > in all 3 browsers.
> >
> > Anybody who knows whether this is a bug in  Calc?
>
> Current versions have very limited support for cell borders in Calc
> HTML export. A fix is available (issue 66439) and will probably go
> into OOo 2.1.
>
> Niklas

     In the meanwhile, make these changes in the <HEAD> section of the 
HTML file:
Change <SCRIPT> to <SCRIPT TYPE="TEXT/CSS">
Add these two lines just below the <!-- line:
TD { border: 2px solid black }
TABLE {border-collapse: collapse}
This will place a 2px border around all the table body cells.
     DO NOT use OOo to make these changes! Use a text editor or an 
HTML editor for this purpose. A few HTML editors have been mentioned 
on this list recently.

Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to