Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

overflow css issue

  • 07-02-2008 10:06am
    #1
    Registered Users, Registered Users 2 Posts: 648 ✭✭✭


    Hi,

    im trying to use the overflow:scroll; command in a div do as i can display a very wide table but not have it distort the page (and thereby have horizonal scroll bars for the user to scroll through the content)

    however im having an issue in FF whereby the table will not actually stay in the div (we do see the scroll bars also)

    anyone have ideas on what is wrong ?

    screen attached and code below.
    tnx
    
    <div id="frame" style="position: absolute;overflow:scroll;width:600px;height:500px;" >
    
    <table border=1 width="1000">
    ....
    ....
    ....
    </table>
    
    
    </div>
    
    


Comments

  • Registered Users, Registered Users 2 Posts: 413 ✭✭ianhobo


    I haven't tried horizontal scrolls before, only vertical.
    They work fine in firefox and IE, but instead of overflow:scroll i used overflow: auto like this (i also have the width and height defined):
    #scrollBox
    {
        float:left;
        font-family:Verdana,Arial,Helvetica,sans-serif;
        height:450px;
        width:600px;
        overflow:auto;
        text-align:justify;
    }
    

    hope that helps


Advertisement