Connecting Tech Pros Worldwide Help | Site Map

nested tables alignment

  #1  
Old July 20th, 2005, 04:48 PM
boris bass
Guest
 
Posts: n/a
Below is linenumbered as well as original code

--------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1255">
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY text="#525252" vLink="#6666ae" aLink="#6666ae" link="#6666ae"
bgColor="#525252">
<TABLE cellSpacing=0 cellPadding=0 width="730" align=center
bgColor="#ffffff"
border=0>
<TBODY>
<TR vAlign=top>
<TD width=624><IMG src="locations_files/roundcorner_topleft.gif"
border=0 width="11" height="11"></TD>
<TD align=right colSpan=2 width="96">
<IMG
src="locations_files/roundcorner_topright.gif" border=0
width="11" height="11"></TD></TR>
<TR>
<TD><IMG height=11 src="locations_files/invisible.gif" width=22
border=0></TD>
</TR>
<TR>
<TD align=center width="724">
<TABLE width="100%" align=center border=2>
<TBODY>
<TR>
<TD width="292">
<TABLE>
<TBODY>
<TR>
<TD colSpan=3>netanya </TD></TR>
<TR>
<TD>kiryat nordu </TD>
<TD><IMG src="locations_files/vline copy.gif" width=1>
</TD>
<TD>ramat poleg </TD></TR></TBODY></TABLE></TD>
<TD width="292">raanana </TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor="#ffffff" width="624">
<IMG
src="locations_files/roundcorner_bottomleft.gif" border=0
width="11" height="11"></TD>
<TD vAlign=bottom align=right bgColor="#ffffff" colSpan=2
width="96">
<IMG
src="locations_files/roundcorner_bottomright.gif"
border=0 width="11"
height="11"></TD></TR></TBODY></TABLE></BODY></HTML>

----------------------------------------------

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML><HEAD>
3 <META http-equiv=Content-Type content="text/html;
charset=windows-1255">
4 <META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
5 <BODY text="#525252" vLink="#6666ae" aLink="#6666ae"
link="#6666ae" bgColor="#525252">
6 <TABLE cellSpacing=0 cellPadding=0 width="730" align=center
bgColor="#ffffff"
7 border=0>
8 <TBODY>
9 <TR vAlign=top>
10 <TD width=624><IMG
src="locations_files/roundcorner_topleft.gif" border=0 width="11"
height="11"></TD>
11 <TD align=right colSpan=2 width="96">
12 <IMG
13 src="locations_files/roundcorner_topright.gif" border=0
width="11" height="11"></TD></TR>
14 <TR>
15 <TD><IMG height=11 src="locations_files/invisible.gif"
width=22
16 border=0></TD>
17 </TR>
18 <TR>
19 <TD align=center width="724">
20 <TABLE width="100%" align=center border=2>
21 <TBODY>
22 <TR>
23 <TD width="292">
24 <TABLE>
25 <TBODY>
26 <TR>
27 <TD colSpan=3>netanya </TD></TR>
28 <TR>
29 <TD>kiryat nordu </TD>
30 <TD><IMG src="locations_files/vline copy.gif"
width=1> </TD>
31 <TD>ramat poleg </TD></TR></TBODY></TABLE></TD>
32 <TD width="292">raanana
</TD></TR></TBODY></TABLE></TD></TR>
33 <TR>
34 <TD bgColor="#ffffff" width="624">
35 <IMG
36 src="locations_files/roundcorner_bottomleft.gif" border=0
width="11" height="11"></TD>
37 <TD vAlign=bottom align=right bgColor="#ffffff" colSpan=2
width="96">
38 <IMG
39 src="locations_files/roundcorner_bottomright.gif"
40 border=0 width="11"
height="11"></TD></TR></TBODY></TABLE></BODY></HTML>


--------------------------------------------


where i am trying to display a bordered table centered within another
table -
simple enough task for nested tables or am i being wrong here?

i would appreciate the advise how to turn to style sheets or fix the
existing code to sove
the following problem:

the row on line 18 contains a single cell and within that cell a
bordered table which comes out left-aligned. i want it centered and i
tried to work around like this

18 <TR>
ADD EXTRA <td> &nbsp;
19 <TD align=center width="724">

but it screws up the whole thing. why?

changing width at

19 <TD align=center width="724">

and even deleting "width" attribute altogether doesn't help


boris
  #2  
Old July 20th, 2005, 04:48 PM
Brian
Guest
 
Posts: n/a

re: nested tables alignment


boris bass wrote:[color=blue]
> Below is linenumbered as well as original code
>
> --------------------------------------
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1255">[/color]

http://groups.google.com/groups?selm...ing.google.com

why multi-posting is unproductive:
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

rules for posting to usenet
http://www.faqs.org/faqs/usenet/posting-rules/part1/

--
Brian
follow the directions in my address to email me

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in adjusting alignment of controls at runtime kt answers 1 June 27th, 2008 08:52 PM
HTML tables alignment problem billsahiker@yahoo.com answers 2 June 1st, 2007 07:35 PM
Converting tables lostinspace answers 3 July 20th, 2005 09:53 PM
nested tables alignment boris bass answers 1 July 20th, 2005 09:16 PM