SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Lose The Vertical Scrollbar

    I have a new page for my site that I'm working on here. No problems with most of it except for a code block which for some reason is displaying a vertical scrollbar that I would like to get rid of.

    You'll notice that I have one code block on that page that starts with:
    Code:
    define('CDTRUST_USER','username');	  //Username
    That one has no vertical scrollbar, which is exactly what I want. However, further down on the page where the block of code starts with this:

    Code:
    $Where = blah blah
    you'll notice the vertical scrollbar. How do I get rid of that? I don't mind the horizontal scrollbar, in fact I want that. I just don't want the vertical one.

    Here's my CSS:
    Code:
    .codebox-sm		{border-left: 1px solid #808080;
    				border-top: 1px solid #808080;
    				border-right:1px solid #808080;
    				border-bottom:1px solid #808080;
    				padding: 5px 5px 5px 10px;
    				background-color:#eeeeee;
    				/* below is the magic code to have scrollbars */
    				width: 540px;
    				height: 80px;
    				overflow:auto;
    				white-space: nowrap; }
    Thanks in advance for your help.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web

  2. #2
    SitePoint Zealot
    Join Date
    Sep 2003
    Location
    Michigan
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks fine in firefox 1 and IE 6 in 800 x 600 pixels. Opera 7.54 the navigation bar is doing strange things but no vertical bar.
    Bill Rosa


  3. #3
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah Im not seeing it either in IE 5.5, 6.0 - NN7.2 - Mozilla 1.7 - FF 1.0 at any resolution! Actually the page looks and acts GREAT!

    The only thing I noticed was in IE 5.0 --- some white space after the

    Code:
    // Define the directory path to the database connection script, including the slash at the end
    define('SECURE_PATH','/home/username/secure_directory/');

    block ..... besides that its golden! Maybe you could point us to the problem you seeing with some more info?

  4. #4
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm trying to attach a thumbnail that links to a larger picture. Hope this works. BTW, I'm looking at this in IE6. (click to see larger image)

    Last edited by vinyl-junkie; Feb 22, 2005 at 07:22.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web


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
  •