Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Centered Text Not Working in saved htm

I have an Excel 2003 worksheet which includes some text centered across 6
columns. When I do a SaveAs and save it as HTM it looks fine in Excel but
when I load it to a web site it is left aligned?

Wayne


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Centered Text Not Working in saved htm

you'll need to enclose quote marks around spaces as spaces are ignored in
HTML otherwise
eg
test
comes up as
test
while
' test'
will be
test

I think...

"Wayne Wengert" wrote:

I have an Excel 2003 worksheet which includes some text centered across 6
columns. When I do a SaveAs and save it as HTM it looks fine in Excel but
when I load it to a web site it is left aligned?

Wayne



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Centered Text Not Working in saved htm

It turns out that I had a graphic in the cell along with the text. Excel
handled it OK, even when I did a SaveAs htm format but the resulting htm
page would not render correctly. I moved the graphic to its own cell,
outside of those being centered, and it works.

I guess it is the way Excel writes the html code when it has a graphic in
the mix?

Wayne

"Wayne Wengert" wrote in message
...
I have an Excel 2003 worksheet which includes some text centered across 6
columns. When I do a SaveAs and save it as HTM it looks fine in Excel but
when I load it to a web site it is left aligned?

Wayne




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making the text in a cell with a money format centered Wombat Excel Discussion (Misc queries) 6 April 22nd 23 12:12 AM
Formual not working when 2003 WKB saved as 2007 Macro Enabled WKB Corey .... Excel Worksheet Functions 3 March 26th 09 05:44 AM
Visual Basic code not working when sheet is saved joe123 Excel Discussion (Misc queries) 3 October 22nd 08 01:50 PM
Show centered text along merged colum cells BLopes Excel Discussion (Misc queries) 0 June 26th 06 11:01 PM
'Saved' Property not working Jim Rech Excel Programming 2 August 5th 04 11:39 PM


All times are GMT +1. The time now is 02:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"