HighDots Forums  

Tables

alt.html.webedit alt.html.webedit


Discuss Tables in the alt.html.webedit forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Johan Smit
 
Posts: n/a

Default Tables - 12-23-2003 , 06:16 AM






Hi,
What I would like to have is a table cell <td> with both left aligned
and right-aligned text in the same vertical position in the same cell.

<span> appears not to do it, and <div> adds a vertical row.
Alternatively, is it possible to let the border between two cells only
disappear? I can do colspan=2, but then I cannot get both the left and
right aligned text.
A very blessed Christmas to you all.
Any help greatly appreciated.
Thank you
Johan Smit

Reply With Quote
  #2  
Old   
luke
 
Posts: n/a

Default Re: Tables - 12-23-2003 , 08:40 AM






try this.....

<div align="justify" style="width:100%">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="50%">text 1</td>
<td width="50%" align="right">text 2</td>
</tr>
</table>
</div>

Luke



Reply With Quote
  #3  
Old   
Steve R.
 
Posts: n/a

Default Re: Tables - 12-23-2003 , 08:51 AM



luke wrote in message ...
Quote:
try this.....
But that's in separate cells.
The OP was asking in the same cell.

Maybe he wasn't sure waht he wanted :~)




Reply With Quote
  #4  
Old   
luke
 
Posts: n/a

Default Re: Tables - 12-23-2003 , 09:53 AM



Quote:
Maybe he wasn't sure waht he wanted :~)
Probably. You can always replace the table cells with spans which is much
the same thing but withonly one cell.
I hope he isnt looking for cross browser support :-Þ


<div align="justify" style="width:100%;">
<span style="width:50%;">text1<br />text1<br />text1<br />text1<br
/>text1<br /></span><span style="position:absolute; width:50%;
text-align:right">text2<br />text2<br />text2<br />text2<br />text2<br
/></span>
</div>




Reply With Quote
  #5  
Old   
Johan Smit
 
Posts: n/a

Default Re: Tables - 12-24-2003 , 01:25 AM



On Tue, 23 Dec 2003 15:53:38 -0000, "luke" <growler8 (AT) hotmail (DOT) com>
wrote:

Quote:
Maybe he wasn't sure waht he wanted :~)
Hi guys,
No, I think I know exactly what I want, even if I am not very lucid
about it.
Quote:
Probably. You can always replace the table cells with spans which is much
the same thing but withonly one cell.
I hope he isnt looking for cross browser support :-Þ
No, the browser component is Dave Baldwin's THtml.(www.pbear.com)
It is part of a long report, mainly all within a long table.
Span within a table cell does not do the right justify.
P gives an additional line.
The overall table has 1px borders, so using different cells makes it
more difficult for the user to see the context.
It appears that the solution is to use nested tables, but I am not
sure if this will slow down everything too much.
I was hoping for some other solution.
Thanks for the replies
Regards
Johan Smit


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.