Saturday, March 31, 2012

Simple - Label the size of window.

I do not mean to get into the clients resolution and other things. Its just that designing ASP.NET pages in IDE, I just "waste" a hell of time adjusting the label length to fill up the entire horizontal screen. Anyones got a simple way to do it?Just set the Width property of the ASP:Label control to be "100%"
Thanks.

but what about the the html label control?
In this case you need to modify the STYLE property, and change the width style item be 100%, which is easiest done in the HTML code window, i.e.

<DIV style="DISPLAY: inline; WIDTH: 100%; HEIGHT: 15px" ms_positioning="FlowLayout">HTML Label at 100%</DIV>
Thanks, I figured out.

however, I feel for designing the IDE isnt suitable...perphaps shd go back to DreamWeaver.

0 comments:

Post a Comment