Label Contents

  • Thread starter Thread starter shail
  • Start date Start date
S

shail

Sir,
I have a label control in web form, I want to adjust its
height according to the contents in it which are
generated dynaically and I want other controls position
should readjust according to labels dimensions. How could
I do it?
Thank You.
 
If you don't specify the dimentsions of the Label, it will grow to the size
of tis' contents. In addition, in most cases, and if you're not using
absolute positioning, the other HTML elements will move according to the
size of the contents of the Label. If you want to get fancy, you can use
relative positioning, but this is tricky as well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.

shail said:
Sir,
I have a label control in web form, I want to adjust its
height according to the contents in it which are
generated dynaically and I want other controls position
--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top