Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 04:48 PM
boris bass
Guest
 
Posts: n/a
Default 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="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
Default 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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles