Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    gettin rid of the horizontal scrollbar

    hello...i make websites and on my layouts..i get a horizontal scroll bar..and nothing is their to scroll over to look at..i was wondering if anyone had a javascript or something that i could put in my HTML so it would hide/delete/get rid of the horizontal scroll..ok thanks

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    <head>
    <style type="text/css">
    body {
    overflow: hidden;
    }
    ........

  • #3
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that doesnt help me much... anyone else?
    Last edited by IDontCode; 07-11-2002 at 04:47 AM.

  • #4
    New Coder
    Join Date
    Jul 2002
    Location
    Sweden
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe the tableproporties is wrong... really nice site anyways
    ---
    Markus

  • #5
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe..but i know their are scripts that will do the trick..i found one to hide the vertical bar awhile ago..i just need one for the horizontal one..can anyone help me out?!? thanks

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by adios
    <head>
    <style type="text/css">
    body {
    overflow: hidden;
    }
    ........
    hey..that hides both bars.."Adios" u got any idea how i just get it to delete the horizontal bar? and leave the vertical alone?

  • #7
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    body {
    overflow-x: hidden;
    }

    it's notoriously buggy, though. if i were you, i'd do a real thorough check, to see why it's happening in the first place.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #8
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would ask for a link to your site, but I would bet the content would violate the rules of this board. Like joh6nn suggested, you should really go over you source code and see if you can locate the cause. Could be the width of the image(s) too.

    How about you post a relevant portion of your source code, just be sure to edit out any inappropriate content before posting the code .
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #9
    New Coder
    Join Date
    Jul 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks anyway guys...got my answer from a thread just like this one! peace


  •  

    Posting Permissions

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