SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: scrollbar

  1. #1
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scrollbar

    how do i disable the (browser scrollbar) vertical scrollbar and horizontal scrollbar via css ? is it possible?
    knowledge is power

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    It is possible, but you shouldn't you should leave that up to the browser/GUI.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i know how to do it via browser just add a scroll=no on body tag but i just want to know how to do it on CSS ..thanks
    knowledge is power

  4. #4
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    At a guess, but I haven't tried it.

  5. #5
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey thanks a lot guys
    knowledge is power


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •