473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Align to bottom

Is there a way to make a section of a <td> tag to go to the bottom of the
cell?

Below is a portion of my page. The <td class="BodyText"> tag has a
"vertical-align:top" in the css file to move the data to the top of the
page.

I would like to take the section below the repeater (label and radio
buttons) and move them to the bottom of the cell.

Is there an easy way to do this?

<td class="BodyText"><br>
<div align="center" >
<center>
<table border="0" width="600" bgcolor="#000080"
style="vertical-align:top">
<tr>
<td width="100%" align="left"><font color="#FFFFFF" face="Arial
Black">QA Documents - <%= request.QueryString("name") %></font></td>
</tr>
</table>
</center>
</div>
<table border="0" width="600" cellspacing="5" cellpadding="2"
align="center">
<tr>
<td>
<form runat="Server">
<asp:Repeater
ID="rptAuthors"
runat="Server">

<ItemTemplate>
<font face="Arial" size="2" color="#000080"><b><a href="<%#
Container.DataItem("fullFileName") %>" target="_blank" ><%#
Container.DataItem("title") %></a></b></font><br>
</ItemTemplate>
</asp:Repeater>
<p>
<span class="HeaderText">Search Titles:</span><br>
<asp:TextBox
ID="txtSearchPhrase"
Columns="50"
Runat="Server" />
<asp:Button
Text="Search!"
OnClick="Button_Click"
Runat="Server" />

<asp:Label
ID="lblResults"
EnableViewState="False"
Runat="Server"
class="HeaderText" />
<asp:radiobuttonlist class="BodyText" ID="searchChoice"
runat="server" RepeatDirection="Horizontal" RepeatLayout="table"
TextAlign="right">
<asp:ListItem Text="All Documents" value="All" />
<asp:ListItem Text="Current Documents" value="Current"
Selected="True" />
</asp:radiobuttonlist>
</form>
</td>
</tr>
</table>
</td>

Thanks,

Tom.
Nov 18 '05 #1
2 4262
Tom,

You already have another table inside the cell with class="BodyText". Why
can't you just align this inner table or separate cells in it as you wish?

Eliyahu

"Thomas Scheiderich" <tf*@deltanet.com> wrote in message
news:10*************@corp.supernews.com...
Is there a way to make a section of a <td> tag to go to the bottom of the
cell?

Below is a portion of my page. The <td class="BodyText"> tag has a
"vertical-align:top" in the css file to move the data to the top of the
page.

I would like to take the section below the repeater (label and radio
buttons) and move them to the bottom of the cell.

Is there an easy way to do this?

<td class="BodyText"><br>
<div align="center" >
<center>
<table border="0" width="600" bgcolor="#000080"
style="vertical-align:top">
<tr>
<td width="100%" align="left"><font color="#FFFFFF" face="Arial
Black">QA Documents - <%= request.QueryString("name") %></font></td>
</tr>
</table>
</center>
</div>
<table border="0" width="600" cellspacing="5" cellpadding="2"
align="center">
<tr>
<td>
<form runat="Server">
<asp:Repeater
ID="rptAuthors"
runat="Server">

<ItemTemplate>
<font face="Arial" size="2" color="#000080"><b><a href="<%#
Container.DataItem("fullFileName") %>" target="_blank" ><%#
Container.DataItem("title") %></a></b></font><br>
</ItemTemplate>
</asp:Repeater>
<p>
<span class="HeaderText">Search Titles:</span><br>
<asp:TextBox
ID="txtSearchPhrase"
Columns="50"
Runat="Server" />
<asp:Button
Text="Search!"
OnClick="Button_Click"
Runat="Server" />

<asp:Label
ID="lblResults"
EnableViewState="False"
Runat="Server"
class="HeaderText" />
<asp:radiobuttonlist class="BodyText" ID="searchChoice"
runat="server" RepeatDirection="Horizontal" RepeatLayout="table"
TextAlign="right">
<asp:ListItem Text="All Documents" value="All" />
<asp:ListItem Text="Current Documents" value="Current"
Selected="True" />
</asp:radiobuttonlist>
</form>
</td>
</tr>
</table>
</td>

Thanks,

Tom.

Nov 18 '05 #2
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:#O**************@TK2MSFTNGP12.phx.gbl...
Tom,

You already have another table inside the cell with class="BodyText". Why
can't you just align this inner table or separate cells in it as you wish?
Not sure how you mean this.

I tried to put the link everywhere. Tried just <tr><td> with the current
table and also putting it after the table, but before the <td> of the outer
table. It still put it just after the inner table. The problem is that
unless I am already at the bottom of the screen, it will put it in the
middle of the screen. The TD area is about 3/4s of the screen and the
repeater may take about 1/4 of the screen. I want there to be a lot of
white space and put the link at the bottom - without specifying a size of
the box, since that will change depending on how many items are displayed.

Thanks,

Tom
Eliyahu

"Thomas Scheiderich" <tf*@deltanet.com> wrote in message
news:10*************@corp.supernews.com...
Is there a way to make a section of a <td> tag to go to the bottom of the cell?

Below is a portion of my page. The <td class="BodyText"> tag has a
"vertical-align:top" in the css file to move the data to the top of the
page.

I would like to take the section below the repeater (label and radio
buttons) and move them to the bottom of the cell.

Is there an easy way to do this?

<td class="BodyText"><br>
<div align="center" >
<center>
<table border="0" width="600" bgcolor="#000080"
style="vertical-align:top">
<tr>
<td width="100%" align="left"><font color="#FFFFFF" face="Arial
Black">QA Documents - <%= request.QueryString("name") %></font></td>
</tr>
</table>
</center>
</div>
<table border="0" width="600" cellspacing="5" cellpadding="2"
align="center">
<tr>
<td>
<form runat="Server">
<asp:Repeater
ID="rptAuthors"
runat="Server">

<ItemTemplate>
<font face="Arial" size="2" color="#000080"><b><a href="<%#
Container.DataItem("fullFileName") %>" target="_blank" ><%#
Container.DataItem("title") %></a></b></font><br>
</ItemTemplate>
</asp:Repeater>
<p>
<span class="HeaderText">Search Titles:</span><br>
<asp:TextBox
ID="txtSearchPhrase"
Columns="50"
Runat="Server" />
<asp:Button
Text="Search!"
OnClick="Button_Click"
Runat="Server" />

<asp:Label
ID="lblResults"
EnableViewState="False"
Runat="Server"
class="HeaderText" />
<asp:radiobuttonlist class="BodyText" ID="searchChoice"
runat="server" RepeatDirection="Horizontal" RepeatLayout="table"
TextAlign="right">
<asp:ListItem Text="All Documents" value="All" />
<asp:ListItem Text="Current Documents" value="Current"
Selected="True" />
</asp:radiobuttonlist>
</form>
</td>
</tr>
</table>
</td>

Thanks,

Tom.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Markus Ernst | last post by:
Hi I have a strange problem with vertical-align. The case can be viewed at http://www.brainput.info/geschichte.html. HTML code: <div id="bild"><img src="geschichte.gif" width="274"...
2
by: Newry | last post by:
Hi, I'm trying to position something with CSS, to have the equivalent of: <table> <tr> <td><img src="foo.jgp"></td> <td valign=bottom>Label</td> </tr> </table>
7
by: ridergroov | last post by:
Hi folks. I'm trying to figure out how I can insert 2 different graphics into a table cell and align one to the top and one to the bottom using CSS. I used the "vertical align" to "top" in DW but...
0
by: laredotornado | last post by:
Hello, I'm trying to write TABLE-free HTML pages, but I'm having a problem with rewriting a particular block of code using DIVs and CSS. I want to align the "More" button at the bottom right of...
2
by: vinit_mahajan99 | last post by:
Hello all, I want to align the images and controls at the bottom of a master page or at the right side. I tried to do it with the table but I was not successful. The image should be seen at...
13
by: Bill | last post by:
Hi How can I have IE7 act correctly on that ? The rules make the link text go down when hovered. It works in FF , I had to add a hard space right after the LI tag to have OP9 work but I can't...
2
by: yangtono | last post by:
Hi, I am creating a table to list some data. The table is using a sorting and highlight function that I found from the net. I can't attach image here, basically html will wrap the heading,...
40
by: maya | last post by:
hi, how do I get text to vertical-align inside a div? http://www.mayacove.com/misc/home.html vertical-align should work, according to this:...
2
Ciary
by: Ciary | last post by:
hi fellow coders, i'm not sure if this is the right place to ask since it's rather specific. i've got some questions using EXT JS. i've been asking on there forum but i didn't get a reply...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.