Bold Text in Columns Overlap on Web Page; Cell Padding with AutoFit?

I

IRV

When as a web page, the bold-styled text in the column headings of the
spreadsheet overlap one another somewhat. I have the columns formatted
to AutoFit in Excel (the .xls version), but the text still overlaps
when viewing the web page (the .htm version). Applying vertical
borders between columns does not fix the problem; the text just extends
beyond the borders. I was thinking that defining a cell padding value
might be a workaround, and it might make the webpage look nicer in
general, but I don't know how to do that. Does anyone have a
workaround for overlapping text in web view? Thanks!
 
J

JE McGimpsey

IRV said:
When as a web page, the bold-styled text in the column headings of the
spreadsheet overlap one another somewhat. I have the columns formatted
to AutoFit in Excel (the .xls version), but the text still overlaps
when viewing the web page (the .htm version). Applying vertical
borders between columns does not fix the problem; the text just extends
beyond the borders. I was thinking that defining a cell padding value
might be a workaround, and it might make the webpage look nicer in
general, but I don't know how to do that. Does anyone have a
workaround for overlapping text in web view? Thanks!

I've never seen this problem in the very few XL sheets that I've
published as web pages, but the only way I know of to "pad" cells is to
widen the columns prior to saving as web page. XL saves worksheets as
tables, and the table cell widths are determined in the markup (which
was deprecated in HTML 4.01, but there you go). You could obviously edit
the markup in the .htm file as well.

With any luck, the transition to XML in XL12 will allow all formatting
to be done via XSL, and allow attaching a variety of style sheets -
e.g., one for use in the application, one for publishing to browsers,
one for printing, etc.

Putting extra whitespace in the cells themselves is unlikely to do
anything, since browsers typically ignore extra whitespace.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top