Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Horizontal scroll bars in the panel

Horizontal scroll bars in the panel

Scheduled Pinned Locked Moved ASP.NET
sysadminwindows-adminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KittyKit
    wrote on last edited by
    #1

    Hello I use VWD express 2008 edition. I've a webform with a panel control inside which i have a div inside which there is an <ul> whose nodes are dynamically added. I have enabled the vertical scrollbars. the contents do not exceed the width of the panel and hence i do not want horizontal scroll bars. When I run the application from the VWD, everthing seems to work fine. But when I copy the page to IIS of our server and try to call the page from a browser, the horizontal scroll bar appears which is undesirable. Is there a way to set it right. PS: I noted that while I run from VWD, the compatiblity view button appears and when i click it the horizontal scroll bars appear. Compatiblity button is not at all visible if I call the page directly from the browser.And by default horizontal scrollbars are seen. Any help will be appriciated. thanks in advance. Smiles. Kit.

    A 1 Reply Last reply
    0
    • K KittyKit

      Hello I use VWD express 2008 edition. I've a webform with a panel control inside which i have a div inside which there is an <ul> whose nodes are dynamically added. I have enabled the vertical scrollbars. the contents do not exceed the width of the panel and hence i do not want horizontal scroll bars. When I run the application from the VWD, everthing seems to work fine. But when I copy the page to IIS of our server and try to call the page from a browser, the horizontal scroll bar appears which is undesirable. Is there a way to set it right. PS: I noted that while I run from VWD, the compatiblity view button appears and when i click it the horizontal scroll bars appear. Compatiblity button is not at all visible if I call the page directly from the browser.And by default horizontal scrollbars are seen. Any help will be appriciated. thanks in advance. Smiles. Kit.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      This is pretty easy. put this on the div which you need to hide horizontal scrollbar. overflow: auto; overflow-x: hidden; The css will hide horizontal scrollbar. :)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Microsoft Bing MAP using Javascript
      CLR objects in SQL Server 2005
      Uncommon C# Keywords
      /xml>

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups