|
-
Apr 8th, 2011, 02:11 PM
#1
Thread Starter
New Member
[RESOLVED] Can not hide the vertical scroll bar!
I used a master page to create a web base application using vs 2005.
At ContentPlaceHolder, For each page which in the master page I added
a panel. I enabled scrollbars in the panel.
In my case, I don't want to my master form shows any scorllbar.
Here is my master page code:
Code:
<body style="background:#b0c4de; overflow:hidden;>
<form id="form1" runat="server" style="overflow:hidden;">
<table style="text-align:left;overflow:hidden;" >
<tr align="left">
<td style="height:20px;">
</td>
<td >
</td>
</tr>
<tr >
<td class="xxxxxA" >
</td>
<td class="xxxxxA">
Report Store </td>
</tr>
<tr align="left">
<td class="ssiINSTRUCTIONS" valign="top" style="width: 180px; text- align:left;" >
<asp:TreeView ID="tvMenu" runat="server" DataSourceID="sms1 "ImageSet="Arrows" NodeIndent="7" Width="136px"
ShowExpandCollapse="False" NodeStyle-HorizontalPadding="0px" >
<LevelStyles>
</LevelStyles>
</asp:TreeView>
<asp:SiteMapDataSource ID="sms1" runat="server" />
</td>
<td valign="top" >
<asp:ContentPlaceHolder ID="cphTarget" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</form>
</body>
The above code works perfectly in my local develop machine.
When I move it to server, no matter how hard I tried,
the master page always show me the vertical scroll bar and
made the interface is very ugly. (Show two vertical scrollbars.
one is from my panel, one is from the master page.)
I don't know how to get rid of the annoying vertical scrollbar in master form.
Anyone can help?
Thanks a lot in advance.
Last edited by gep13; Apr 9th, 2011 at 08:03 AM.
Reason: Added Code Tags
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|