Srollbar problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a little scrollbar problem with my Label control
I want to have only horizontal scrollbar
When I set overflow="scroll", I will allways have both scrollbars, and when I set it to "auto" my Label grows and none of the scrollbars appear
Help??? I'm confused

P.S. I fill text to Label in script
Label.innerText = text;
 
Veke, try setting the label's dimensions and style property:

<asp:Label runat='server' id ='x'
style='width:300px;height:200px;overflow:auto;' />

--
Jure

Veke said:
I have a little scrollbar problem with my Label control.
I want to have only horizontal scrollbar.
When I set overflow="scroll", I will allways have both scrollbars, and
when I set it to "auto" my Label grows and none of the scrollbars appear.
 
Back
Top