Click here to Skip to main content
12,699,531 members (36,730 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
When i use this code in the vertical scroll bar is disabled
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="BodeAnimation._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" >
<head runat="server">
<title>Untitled Page</title>
<form id="form1" runat="server">
<div id="wrapper">
<!-- ***** some designs ********** -->

After that i changed the form tag inside the wrapper the vertical scroll bar is visible...i don't know why its occur.
<div id="wrapper">
<form id="form1" runat="server">
<!-- ***** some designs ********** -->
if any one know the reason means please tell me..
Posted 17-Jan-13 2:11am
shabari7 17-Jan-13 7:26am
how can u just place form inside div?
Nick Fisher (Consultant) 17-Jan-13 7:40am
It does not enable the scroll bar for either of these in my browser (IE 8). Are you sure you're not including some other content on the page which you've not posted here?
Sandeep Mewara 17-Jan-13 13:34pm
How much content you have in your form?
saravana__ 17-Jan-13 22:46pm
It contains large content...if i changed or removed the form tag means then only vertical scroll bar is visible.
richcb 17-Jan-13 15:29pm
If you don't have enough content on the page to warrant a scroll bar, one will not show up.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100