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 4 of 4

Thread: scroll bars

  1. #1
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    scroll bars

    i don't want these scroll bars. i have the same pics on other areas of my site but not with scroll bars. the picture is not bigger than the area size.

    here is the link to look:
    http://www.hottunaint.com/product.html

  • #2
    Regular Coder PremiumBlend's Avatar
    Join Date
    Apr 2006
    Location
    Marion, Iowa
    Posts
    201
    Thanks
    0
    Thanked 13 Times in 13 Posts
    In your CSS, change:

    Code:
    #content A IMG
    {
        BORDER-RIGHT: 0px solid;
        BORDER-TOP: 0px solid;
        DISPLAY: block;
        MARGIN: auto;
        BORDER-LEFT: 0px solid;
        BORDER-BOTTOM: 0px solid
    }
    to

    Code:
    #content A IMG
    {
        BORDER-RIGHT: 0px solid;
        BORDER-TOP: 0px solid;
        DISPLAY: block;
        MARGIN: 0;
        BORDER-LEFT: 0px solid;
        BORDER-BOTTOM: 0px solid
    }
    by the margin being auto, it will go by browser default and expand the bounds of the image outside the div. You can also set the overflow property of #content to:

    Code:
    #content {
        OVERFLOW: hidden;
    }
    one or both of those should solve it. I haven't tested these, but that should take care of it.
    My Website: DumpsterDoggy

  • #3
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    That Was It!

    that was it. it works till change the content to hidden.
    how can i do that with the left side panel?they don't need scroll bars either.
    u r good

  • #4
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    that works too

    i did the same thing.for that too.


  •  

    Posting Permissions

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