![]() |
|
#1
|
|||
|
|||
top of tableIn a two-column table, when one column is really long, the text in the other goes in the middle (vertically). This is normally good, however in one case I need the text in one column to stay at the TOP instead of going to the middle because the other text is huge. How can I do this?
![]() |
|
#2
|
||||
|
||||
|
Hello Charlie,
Ok its been a long time since I've played with tables. But I put together this code let me know if this is want your talking about. HTML Code:
if this is wrong let me know. __________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#3
|
||||
|
||||
|
ok I was work on the web today and I found that if you just add
valign="top" to the TD tag then it should put it on top. Just make sure that its the TD tag for the cell that has the text in it. Hope this helps. __________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#4
|
|||
|
|||
|
Thanks so much! Works like a charm
![]() |
|
#5
|
||||
|
||||
|
Your Welcome.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#6
|
||||
|
||||
|
Another satisfied customer...:-D
|
|
#7
|
||||
|
||||
Using CSS to align a (table) cell or cells to the topFor those of you who will find this thread in the future and may be interested in the XHTML / CSS version of the solution -
First the CSS between the <head> and </head> tags: HTML Code:
Now, anywhere you want all the table data (cells) in a table row to vertically align to the top: HTML Code:
If you only want 1 table data (cell) to be aligned to the top: HTML Code:
pcxgamer, I want to thank you for reminding me about html tags in UPPERCASE, now the HTML bbcode will recognise them too... __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#8
|
|||
|
|||
|
Hi Charlie,
I used to have the same problem (I'm not exactly an HTML expert -- I only know the basics, and I have to look the rest up), and I discovered that valign="top" works by testing it out in Frontpage, actually. So yes, there are uses for that evil tool. ![]() __________________
You're not supposed to be looking at this. |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying to retrieve selective results from a table. | icsys | MySQL / PHP Forum | 9 | 18-Nov-2003 03:31 |
| form in a table cell | blelisa | Web Design Forum | 1 | 19-Aug-2003 09:14 |
| [Tutorial] MySQL Basics | nniehoff | MySQL / PHP Forum | 15 | 23-Mar-2003 19:42 |
| using a button to change table contents. | demtro | MySQL / PHP Forum | 20 | 02-Mar-2003 15:07 |
| table question | smoky | Web Design Forum | 1 | 05-Jan-2003 02:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The