tags:

views:

36

answers:

3

in my website designing side i meet one problem , even now also i don't know how to rectify that problem. any one help me

 <div style="overflow:auto;height:535px; width:656px;position:absolute;" id="abit" runat="server"  >

contents...

</div>

in this code i got scroll bar. but i don't want that scrollbar, but i want that actions, how to do this?

advance thx...

A: 

Your question is a bit unclear. Perhaps you should try another value:

  1. overflow:scroll - Scrollbar is always present.
  2. overflow:hidden - Extra content is clipped with no scrollbar.

Or perhaps a few moments looking at the other overflow options would answer your question.

Jonathan Sampson
A: 

Try removing the css height property. The scrollbar might appear because the content is higher that what the div could handle.

jpartogi
A: 

1) The scrollbar is appearing because the content of the div is larger than the fixed height of the div.

To get rid of the scrollbar, you can
1)Increase size of div
or
2)set style="overflow:hidden"
or
3)Remove the clamp you're setting, in other words, get rid of style="height:**px"

ItzWarty