er@s Posted February 27, 2009 Report Share Posted February 27, 2009 Помогите пожалуйста. Надо выровнить div(отмечен красным) так, чтобы он оказался вверху столбца таблицы. Код примерно такой:<table width="100%"><tr><td width="20%">[color="#FF0000"]<div class='panel'>...</div>[/color]</td><td width="60%">...</td><td width="20%">...</td></tr></table>Как я не пытался, он стоит по середине Quote Link to comment Share on other sites More sharing options...
0 youmay Posted February 27, 2009 Report Share Posted February 27, 2009 <table width="100%"><tr><td width="20%" valign="top"><div class='panel'>...</div></td><td width="60%">...</td><td width="20%">...</td></tr></table>td Quote Link to comment Share on other sites More sharing options...
0 Vlad Posted February 28, 2009 Report Share Posted February 28, 2009 vertical-align лучше использовать вместо параметра valign. Quote Link to comment Share on other sites More sharing options...
Question
er@s
Помогите пожалуйста. Надо выровнить div(отмечен красным) так, чтобы он оказался вверху столбца таблицы. Код примерно такой:
Как я не пытался, он стоит по середине
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.