March 22, 200719 yr heya all im a bit stuck on something when building my website. Im trying to 'format it' by adding a table and then type what i want into it. The problem is if i have got more text in one colum than in another the other moves down so it is not at the top. hope ive explained my problem well enough. thanks jack
March 22, 200719 yr I would suggest trying a webdesign app such as Dreamweaver, makes all this a lot easier! I think what you are looking for is the <td valign="top">Your Text Here</td> this will bring all the data in the cell to the top of the cell. Also valid are "middle", "bottom" and "baseline" HTH Pete Edited March 22, 200719 yr by rcgods
March 23, 200719 yr rcgod's suggestion is fundamentally correct but many recent XHTML parsers will complain about the use of "align" as a tag attribute. The solution is to use the "vertical-align" CSS directive in either the linked stylesheet or inline: <td style="vertical-align:top;">Some text</td> Either way will work of course but those of us who have to comply with every random standard that customers come across and consider to be holy gospel are acutely aware of this kind of thing. Edited March 23, 200719 yr by neonsurge
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.