467,915 Members | 1,225 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

Aligning content in table cell to top of cell

JJA
Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.

Please see:

http://www.mortgagedataweb.com/devmd...custommaps.asp

I know I should not be using HTML tables for presentation structure
but this is legacy stuff I need to modify quickly.

Apr 26 '07 #1
  • viewed: 8856
Share:
6 Replies
JJA wrote:
Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.

http://www.mortgagedataweb.com/devmd...custommaps.asp

I know I should not be using HTML tables for presentation structure
but this is legacy stuff I need to modify quickly.
1. Ick
2. That much JavaScript should be moved to external .js files.
3. <td id="mapSelection" width="20%" valign="top">
^^^^^^^^^^^^^--add this
4. Ick.

--
John
Apr 27 '07 #2
In article
<11**********************@u32g2000prd.googlegroups .com>,
JJA <jo*********@gmail.comwrote:
Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.

Please see:

http://www.mortgagedataweb.com/devmd...custommaps.asp

I know I should not be using HTML tables for presentation structure
but this is legacy stuff I need to modify quickly.
You could try:

<td id="mapSelection" width="20%" valign="top">

--
dorayme
Apr 27 '07 #3
In article <46**********@news.bluewin.ch>,
John Hosking <Jo**@DELETE.Hosking.name.INVALIDwrote:
JJA wrote:
Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.
3. <td id="mapSelection" width="20%" valign="top">
^^^^^^^^^^^^^--add this
John, I noticed too late you had already answered this!

--
dorayme
Apr 27 '07 #4
dorayme wrote:
In article <46**********@news.bluewin.ch>, John Hosking wrote:
>>JJA wrote:
>>>Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.
>>3. <td id="mapSelection" width="20%" valign="top">
^^^^^^^^^^^^^--add this

John, I noticed too late you had already answered this!
No worries, Ben C provided an even better answer (with actual CSS) over
in c.i.w.a.h even before I posted mine here.

--
John
Apr 27 '07 #5
In article <46**********@news.bluewin.ch>,
John Hosking <Jo**@DELETE.Hosking.name.INVALIDwrote:
dorayme wrote:
In article <46**********@news.bluewin.ch>, John Hosking wrote:
>JJA wrote:

Please advise on how I can get this content (from "Choose a Map" down
to the "Show Map" button) to be positioned at the top of this table
cell.
>3. <td id="mapSelection" width="20%" valign="top">
^^^^^^^^^^^^^--add this
John, I noticed too late you had already answered this!

No worries, Ben C provided an even better answer (with actual CSS) over
in c.i.w.a.h even before I posted mine here.
Have not yet seen it, but I am not surprised. We are the quick
and dirty handybeings, he is the tradesman. <g>

--
dorayme
Apr 27 '07 #6
dorayme wrote:
You could try:

<td id="mapSelection" width="20%" valign="top">
On in stylesheet, (this is ciwas right?),

#mapSelection { vertical-align: top; }

or

TD { vertical-align: top; }

if you want change the default and have all of your tables cell aligned
at the top.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Apr 27 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Cedric Villat | last post: by
2 posts views Thread by autogoor | last post: by
6 posts views Thread by chris | last post: by
7 posts views Thread by Scott Teglasi | last post: by
1 post views Thread by DAL | last post: by
3 posts views Thread by iamconfused | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.