Table is set to center but it shows in left side!!!!

T

Thomas A. Rowe

But that is his main table, his issue is with the nested tables.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

I had your page open in FP, and did view each table's table properties, and then I switch to
HTML/Code view in FP and copied the table tags to show you.

As you can see the alignment is set to DEFAULT, not CENTER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:

http://www.ecom-data.com/help/jack.jpg

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
J

Jack

But that your reply was not the right answer for my question, Tom!!!!!
I asked about the LAST 3 tables inside the main table!!!!
I do not want the main table to centered!!!!

Besides, Tom you told me about widths not adding up. I took it seriously
your advise and:
1.
Manually I corrected ALL widths to correct values.
It did not solve that problem.
2.
Then I asked you general question, how is it possible that FP cannot
manage that properly when drawing and resizing table.
You choose to ignore that.
3.
Then I told you about experiment I made.
I copied the table containing cells where widths did not add up and paste it
into blank page and set it to center and there was NOT a problem.
You choose to ignore that too.
Why????
Is it because does not suit your assertions?
With regards,
Jack
 
T

Thomas A. Rowe

Jack,

I have no idea why we are not seeing the same thing for your page. However what do you see in
HTML/Code view for example table?

Here is what I see

as shown in the left picture below:</font></p>
<table border="0" cellpadding="0" cellspacing="10" width="321" style="border-collapse:
collapse" bordercolor="#111111">
<tr>
<td align="center"><font color="#400040">Figure 1</font></td>
<td align="center"><font color="#400040">Figure 2</font></td>
</tr>
<tr>
<td align="center"><img border="0" src="graphics/opt_gen1.gif"></td>
<td align="center"><img border="0" src="graphics/opt_gen2.gif"></td>
</tr>
</table>
<p align="center"><em><a href="#Top">back to the top</a></em></p>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
S

Steve Easton

Jack.

You have the main table set to a fixed width of 555

It is impossible to center in the screen, any tables that are inside of your fixed width
main table because they are restricted by the left boundary of the main table.

Set the width of your main table to 100% and then the bottom 3 tables will center as
desired.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
T

Thomas A. Rowe

Steve,

Good point, but it would not be the main table's outer width, but the main table's cell width that
would restrict the centering of any inserted content.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
J

Jack

Good point, Steve but it does not solve the problem.
First of all the other nested tables some are even wider and still they
position in the center of the table.
Secondly,
I have changed the width of main table to 100% (although it does not suit me
that) and also I increased the width of cell within it also to 100% as
Thomas is suggesting, to no avail.
Jack
 
J

Jack

The only thing which corrects that 3 tables is when manually I add the
following html code
for each of these tables according to Thomas suggestion:
<div align="center">
<center>
==== Table here ====
</center>
</div>

Just only my primary question remains:
Why only these 3 tables require that?
Why all other tables are centered properly and they do not need that code
included?

Jack
 
J

Jack

I see this:
<table border="0" cellpadding="0" cellspacing="10" width="321"
style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td align="center"><font color="#400040">Figure 1</font></td>
<td align="center"><font color="#400040">Figure 2</font></td>
</tr>
<tr>
<td align="center"><img border="0"
src="graphics/opt_gen1.gif"></td>
<td align="center"><img border="0"
src="graphics/opt_gen2.gif"></td>
</tr>
</table>
Which is exactly the same thing you see it.
However my FP shows table properties at Center and in run time that table is
centered.
Despite the fact that it has missing that code:
<div align="center">
<center>
What makes that table centered then?
I do not understand it.
Jack
 
S

Steve Easton

Also, after you set the width of the main table to 100% scroll down to the last three
tables.
Click once with the mouse cursor in the open area to the right of each table and then click
the center button on the positioning toolbar.
Do this for each table, save and publish and the tables will be centered.
 
S

Steve Easton

Yep.

I got it to work though, but the way I did wasn't what I would call "normal."


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
S

Steve Easton

Check my next post.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
S

Steve Easton

Oops.

I meant click in the open area to the "left" of each table and then click the centering
button.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

Jack

Maybe my FP has a problem?
It will not let me click on the area right to the table.
The focus (flashing cursor) remains always on some cell inside that table!!!
Jack
 
T

Thomas A. Rowe

The problem is with using the positioning menu button for tables, where table properties should be
used or if nesting, then cell properties for the cell the table is being inserted into can be use
and the nested table can be left at default.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
J

Jack

The same thing.
My FP does not let me click on area left to the table.
When I do it it will select (highlight) the line inside the table.
Please notice that in the design stage table is centered so there is empty
area to the left of the table.
Jack
 
J

Jack

Suma summarum.

Does it mean that my FP has problem?
1.
All my nested tables are set to center using Table Properties.
2.
In run time some of them are centered but some not.
3.
In design stage all are centered.
4.
None of the tables, when watching HTML code starts with this code:
<div align="center">
<center>
5.
When adding that code to the tables which are not centered, corrects the
problem.

What will be the conclusion?
BTW, I am using Windows XP, SP2.
Thanks for your efforts,
Jack
 
T

Thomas A. Rowe

I would say it is how you created the page layout...I would have create the base table, at whatever
fixed width wanted, but set the cell width to 100%, and set the cell alignment to Top / Left, this
would cause all text to be left aligned with in the cell, then I would using the positioning menu
icon to center any text that needed to be centered, but I would not use it for centering any of the
nested tables. I would use table properties to center the nested table.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
S

Stefan B Rusynko

Your entire page (exclusive of the top 2 cell row) is in a single cell table
Your single cell alignment (center) is controlling all content (including the 3 tables at the bottom)
If you are going to stick w/ a 1 cell table for the page content
- Set your Outer table alignment to left or center
- Set the single cell (w/ your page content to left alignment) - not center as you have now
- Then you will be able to set you bottom table to center alignment
(sometimes you need to toggle the table to left or right alignment and then set center)

IMHO
break the page into several meaningful tables (or at least rows in the table)

PS
As pointed out by others don't set table / cell sizes that are meaningless
(smaller than you content is forcing)
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Suma summarum.
|
| Does it mean that my FP has problem?
| 1.
| All my nested tables are set to center using Table Properties.
| 2.
| In run time some of them are centered but some not.
| 3.
| In design stage all are centered.
| 4.
| None of the tables, when watching HTML code starts with this code:
| <div align="center">
| <center>
| 5.
| When adding that code to the tables which are not centered, corrects the
| problem.
|
| What will be the conclusion?
| BTW, I am using Windows XP, SP2.
| Thanks for your efforts,
| Jack
| | > The problem is with using the positioning menu button for tables, where
| > table properties should be used or if nesting, then cell properties for
| > the cell the table is being inserted into can be use and the nested table
| > can be left at default.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | >> Also, after you set the width of the main table to 100% scroll down to
| >> the last three
| >> tables.
| >> Click once with the mouse cursor in the open area to the right of each
| >> table and then click
| >> the center button on the positioning toolbar.
| >> Do this for each table, save and publish and the tables will be centered.
| >>
| >>
| >> | >>> But that your reply was not the right answer for my question, Tom!!!!!
| >>> I asked about the LAST 3 tables inside the main table!!!!
| >>> I do not want the main table to centered!!!!
| >>>
| >>> Besides, Tom you told me about widths not adding up. I took it seriously
| >>> your advise and:
| >>> 1.
| >>> Manually I corrected ALL widths to correct values.
| >>> It did not solve that problem.
| >>> 2.
| >>> Then I asked you general question, how is it possible that FP cannot
| >>> manage that properly when drawing and resizing table.
| >>> You choose to ignore that.
| >>> 3.
| >>> Then I told you about experiment I made.
| >>> I copied the table containing cells where widths did not add up and
| >>> paste it
| >>> into blank page and set it to center and there was NOT a problem.
| >>> You choose to ignore that too.
| >>> Why????
| >>> Is it because does not suit your assertions?
| >>> With regards,
| >>> Jack
| >>> | >>> >I tried to tell him that several replies back, and finally gave up.
| >>> > --
| >>> > ===
| >>> > Tom "Pepper" Willett
| >>> > Microsoft MVP - FrontPage
| >>> > ---
| >>> > FrontPage Support:
| >>> > http://www.frontpagemvps.com/
| >>> > About FrontPage 2003:
| >>> > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >>> > ===
| >>> > | >>> > | Check your "main" table. Alignment is set to Default.
| >>> > | Set it to center and everything centers.
| >>> > |
| >>> > | Here's a screenshot http://www.95isalive.com/test/table.jpg
| >>> > |
| >>> > |
| >>> > | --
| >>> > | Steve Easton
| >>> > | Microsoft MVP FrontPage
| >>> > | 95isalive
| >>> > | This site is best viewed..................
| >>> > | ..............................with a computer
| >>> > | >>> > | > Lets start from another angle, then.
| >>> > | > You are saying that ALL my nested tables are set to default.
| >>> > | > Let assume that it is true (although I insist I see them all set
| >>> > to
| >>> > CENTER).
| >>> > | > Why then, all nested tables on that page are shown in the center
| >>> > except
| >>> > the
| >>> > | > last 3 tables?????
| >>> > | > Jack
| >>> > | > | >>> > | > >I am not looking at you main/base table, but the individual
| >>> > tables
| >>> > that
| >>> > you
| >>> > | > >have inserted.
| >>> > | > >
| >>> > | > > I browse to your page in IE, then I use File Menu | Edit with FP
| >>> > to
| >>> > look
| >>> > | > > at your page.
| >>> > | > >
| >>> > | > > --
| >>> > | > > ==============================================
| >>> > | > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| >>> > | > > ==============================================
| >>> > | > > If you feel your current issue is a results of installing
| >>> > | > > a Service Pack or security update, please contact
| >>> > | > > Microsoft Product Support Services:
| >>> > | > > http://support.microsoft.com
| >>> > | > > If the problem can be shown to have been caused by a
| >>> > | > > security update, then there is usually no charge for the call.
| >>> > | > > ==============================================
| >>> > | > >
| >>> > | > > | >>> > | > >> Can someone else confirm that, PLEASE????
| >>> > | > >>
| >>> > | > >> Something basically is wrong here.
| >>> > | > >> I am not sure, how do you do that, Thomas.
| >>> > | > >> What I do is:
| >>> > | > >> 1. To make sure we are watching the same thing I downloaded
| >>> > that
| >>> > page
| >>> > to
| >>> > | > >> my FP.
| >>> > | > >> 2. Select Table
| >>> > | > >> 3. Mouse right click on it and click on Tables Properties
| >>> > | > >> 4. I can see:
| >>> > | > >> Alignment = CENTER
| >>> > | > >> Float = DEFAULT
| >>> > | > >>
| >>> > | > >> I can see that for ALL the tables on that page.
| >>> > | > >> I am using Front Page 2002.
| >>> > | > >>
| >>> > | > >> Can you say what do you do to see Table Alignment = Default?
| >>> > | > >> Jack
| >>> > | > >>
| >>> > | > >> | >>> > | > >>> Starting with the first table on the page (How to prevent
| >>> > dialer
| >>> > from
| >>> > | > >>> being loaded on Windows startup?), I viewed the table
| >>> > properties
| >>> > for
| >>> > | > >>> each table, all are set to default.
| >>> > | > >>>
| >>> > | > >>> Same for the 2nd table
| >>> > | > >>> Same for the 3rd table
| >>> > | > >>> Same for the 4th table
| >>> > | > >>>
| >>> > | > >>> and so on
| >>> > | > >>>
| >>> > | > >>> --
| >>> > | > >>> ==============================================
| >>> > | > >>> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >>> > | > >>> ==============================================
| >>> > | > >>> If you feel your current issue is a results of installing
| >>> > | > >>> a Service Pack or security update, please contact
| >>> > | > >>> Microsoft Product Support Services:
| >>> > | > >>> http://support.microsoft.com
| >>> > | > >>> If the problem can be shown to have been caused by a
| >>> > | > >>> security update, then there is usually no charge for the call.
| >>> > | > >>> ==============================================
| >>> > | > >>>
| >>> > | > >>> | >>> > | > >>>> Thomas,
| >>> > | > >>>> With all the respect, if I mouse right click on the table in
| >>> > question
| >>> > | > >>>> and Select Table Properties I can see Alignment set to CENTER
| >>> > not
| >>> > to
| >>> > | > >>>> default (as you are saying) in my FP 2002.
| >>> > | > >>>> I do not understand why you see the same set at default?
| >>> > | > >>>> Are we talking about the same thing?
| >>> > | > >>>> Jack
| >>> > | > >>>>
| >>> > | > >>>> | >>> > | > >>>>> Yes you have! Because the table properties are set at
| >>> > default,
| >>> > and
| >>> > not
| >>> > | > >>>>> centered, but the alignment menu icon for centering is
| >>> > highlighted.
| >>> > | > >>>>> This is why it will not be centered when view in the
| >>> > browser.
| >>> > | > >>>>>
| >>> > | > >>>>> --
| >>> > | > >>>>> ==============================================
| >>> > | > >>>>> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >>> > | > >>>>> ==============================================
| >>> > | > >>>>> If you feel your current issue is a results of installing
| >>> > | > >>>>> a Service Pack or security update, please contact
| >>> > | > >>>>> Microsoft Product Support Services:
| >>> > | > >>>>> http://support.microsoft.com
| >>> > | > >>>>> If the problem can be shown to have been caused by a
| >>> > | > >>>>> security update, then there is usually no charge for the
| >>> > call.
| >>> > | > >>>>> ==============================================
| >>> > | > >>>>>
| >>> > | > >>>>> | >>> > | > >>>>>> You are wrong.
| >>> > | > >>>>>> I have not used >alignment menu icons for the table
| >>> > | > >>>>>> Please just load it into your FP and see it for yourself or
| >>> > just
| >>> > | > >>>>>> check the source.
| >>> > | > >>>>>> What I did:
| >>> > | > >>>>>> Mouse right click on table> Table Properties>Alignment =
| >>> > Center.
| >>> > | > >>>>>> And the table is centered when in design stage.
| >>> > | > >>>>>> It moves to left side when run.
| >>> > | > >>>>>> Thanks,
| >>> > | > >>>>>> Jack
| >>> > | > >>>>>> | >>> > | > >>>>>>> You need to set the alignment to center using the Table
| >>> > Properties
| >>> > | > >>>>>>> dialog, not via the alignment menu icons
| >>> > | > >>>>>>>
| >>> > | > >>>>>>> --
| >>> > | > >>>>>>> ==============================================
| >>> > | > >>>>>>> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >>> > | > >>>>>>> ==============================================
| >>> > | > >>>>>>> If you feel your current issue is a results of installing
| >>> > | > >>>>>>> a Service Pack or security update, please contact
| >>> > | > >>>>>>> Microsoft Product Support Services:
| >>> > | > >>>>>>> http://support.microsoft.com
| >>> > | > >>>>>>> If the problem can be shown to have been caused by a
| >>> > | > >>>>>>> security update, then there is usually no charge for the
| >>> > call.
| >>> > | > >>>>>>> ==============================================
| >>> > | > >>>>>>>
| >>> > | > >>>>>>> | >>> > | > >>>>>>>> Hi,
| >>> > | > >>>>>>>> I have a problem to position in the center 3 last
| >>> > tables
| >>> > shown
| >>> > | > >>>>>>>> on that page:
| >>> > | > >>>>>>>> http://www.phonedialerpro.com/faq.htm
| >>> > | > >>>>>>>>
| >>> > | > >>>>>>>> The tables are set to Center but in Preview and in the
| >>> > browser
| >>> > they
| >>> > | > >>>>>>>> appear on the left side!!!
| >>> > | > >>>>>>>> Other tables on the same page display properly.
| >>> > | > >>>>>>>> What can be wrong?
| >>> > | > >>>>>>>> Jack
| >>> > | > >>>>>>>>
| >>> > | > >>>>>>>
| >>> > | > >>>>>>>
| >>> > | > >>>>>>
| >>> > | > >>>>>>
| >>> > | > >>>>>
| >>> > | > >>>>>
| >>> > | > >>>>
| >>> > | > >>>>
| >>> > | > >>>
| >>> > | > >>>
| >>> > | > >>
| >>> > | > >>
| >>> > | > >
| >>> > | > >
| >>> > | >
| >>> > | >
| >>> > |
| >>> > |
| >>> >
| >>> >
| >>>
| >>>
| >>
| >>
| >
| >
|
|
 

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