Thursday, March 29, 2012

newbie - resize a label at runtime

Hi everyone,
I know this is a simple question, but I can't figure this out. I have a web
form with label on it, I would like the length of the label to go from the
left edge of the browser window to the right edge of the browser window. I
am using VS 2003 framework 1.1. Everything looks fine when I browse the sit
e
inside the IDE, but when I open the website in IE the right edge of the labe
l
stops half way across the page.
I know I can set this in the page load event, but I am not sure how to
determine what the value shuold be?
ThanksUse css to control the width of the label
"Chris" <Chris@.discussions.microsoft.com> wrote in message
news:235AD7C4-A417-4358-94C1-FED1803F0719@.microsoft.com...
> Hi everyone,
> I know this is a simple question, but I can't figure this out. I have a
> web
> form with label on it, I would like the length of the label to go from the
> left edge of the browser window to the right edge of the browser window.
> I
> am using VS 2003 framework 1.1. Everything looks fine when I browse the
> site
> inside the IDE, but when I open the website in IE the right edge of the
> label
> stops half way across the page.
> I know I can set this in the page load event, but I am not sure how to
> determine what the value shuold be?
> Thanks
>
Do you have an example or link to an example of this, I 've never worked wit
h
CSS so I am not sure how to do this. I appreciate the help.
Thanks
"Showjumper" wrote:

> Use css to control the width of the label
> "Chris" <Chris@.discussions.microsoft.com> wrote in message
> news:235AD7C4-A417-4358-94C1-FED1803F0719@.microsoft.com...
>
>

0 comments:

Post a Comment