nested tables alignment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • boris bass

    nested tables alignment

    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="Micros oft FrontPage 5.0" name=GENERATOR> </HEAD>
    <BODY text="#525252" vLink="#6666ae" aLink="#6666ae" link="#6666ae"
    bgColor="#52525 2">
    <TABLE cellSpacing=0 cellPadding=0 width="730" align=center
    bgColor="#fffff f"
    border=0>
    <TBODY>
    <TR vAlign=top>
    <TD width=624><IMG src="locations_ files/roundcorner_top left.gif"
    border=0 width="11" height="11"></TD>
    <TD align=right colSpan=2 width="96">
    <IMG
    src="locations_ files/roundcorner_top right.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>netan ya </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">raa nana </TD></TR></TBODY></TABLE></TD></TR>
    <TR>
    <TD bgColor="#fffff f" width="624">
    <IMG
    src="locations_ files/roundcorner_bot tomleft.gif" border=0
    width="11" height="11"></TD>
    <TD vAlign=bottom align=right bgColor="#fffff f" colSpan=2
    width="96">
    <IMG
    src="locations_ files/roundcorner_bot tomright.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="Micros oft FrontPage 5.0" name=GENERATOR> </HEAD>
    5 <BODY text="#525252" vLink="#6666ae" aLink="#6666ae"
    link="#6666ae" bgColor="#52525 2">
    6 <TABLE cellSpacing=0 cellPadding=0 width="730" align=center
    bgColor="#fffff f"
    7 border=0>
    8 <TBODY>
    9 <TR vAlign=top>
    10 <TD width=624><IMG
    src="locations_ files/roundcorner_top left.gif" border=0 width="11"
    height="11"></TD>
    11 <TD align=right colSpan=2 width="96">
    12 <IMG
    13 src="locations_ files/roundcorner_top right.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>netan ya </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">raa nana
    </TD></TR></TBODY></TABLE></TD></TR>
    33 <TR>
    34 <TD bgColor="#fffff f" width="624">
    35 <IMG
    36 src="locations_ files/roundcorner_bot tomleft.gif" border=0
    width="11" height="11"></TD>
    37 <TD vAlign=bottom align=right bgColor="#fffff f" colSpan=2
    width="96">
    38 <IMG
    39 src="locations_ files/roundcorner_bot tomright.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
  • Brian

    #2
    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]



    why multi-posting is unproductive:


    rules for posting to usenet


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

    Comment

    Working...