Click here to Skip to main content
15,921,169 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two labels one label is Title and another one is for multiLine Text. If Second label is more text then First label of title is coming to middle.I want to coming title at top.

for example :


label1 label2
dfdfsdfsdfsfsfsf // coming like that
dfdfsd dffsdfsdfsdfsdfs
dsfsdfsdfsdfsdfs
fdsdfsdfdsfsdfdf

I want below format:

dfdfsd dfdfsdfsdfsfsfsf // coming like that
dffsdfsdfsdfsdfs
dsfsdfsdfsdfsdfs
fdsdfsdfdsfsdfds
Please any one help me..........
Posted
Comments
Sandeep Mewara 18-Jul-12 2:43am    
Not clear.
_Amy 18-Jul-12 3:07am    
What you wanna ask is not clear.

hi create table tag
and try to put labels in separate tr td tags
then align that tr tag to top.
it will work
 
Share this answer
 
v3
hi CH Guravaiah,

u can give valign="top" to first label or take them in table structure in diff. tr and td.

kkakadiya
 
Share this answer
 
Hi,
create table tag.
td valign="top"
here first Label
 
Share this answer
 
v2
try valign property of HTML here
http://www.w3schools.com/tags/att_td_valign.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900