how can i add a scrollbar in this div?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • klevi
    New Member
    • Feb 2015
    • 1

    how can i add a scrollbar in this div?

    I want to add a scrollbar to div id="kryesore" in mainpage,when i try it doesnt work.Can you tell me what can i do and how can i fix it?


    Code:
    <body class="main_body">
            <div id="kryesore">
            <div id="header">
                <div id="headerLeft">
                    <div class="msgs">Mesazh</div>
                    <div class="points">Points</div>
                </div>
                <div id="headerRight">
                    <div class="hungry">Hungry: </div>Action:
                </div>
            </div>
            <div id="maincontent">
                 <div class="output">LALALALALALALA</div>
            </div>
            <div id="footer">
                <div id="footerleft">
                    <div class="onlinePlayer">Klevi</div>
                </div>
                <div id="footerCenter">
                    <div class="map">harta</div>
                    <div class="forum">forumi</div>
                    <div class="logout">logout</div>
                </div>
                <div id="footerRight">
                     <div class="details">details</div>
                     <div class="inventory">inventory</div>
                     <div class="support">support</div>
                </div>
            </div>
            </div>
            </body>
    Attached Files
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    #2
    You could add an tag called an Iframe code will look something like this
    <iframe src="" name="iframe" width="300" marginwidth="10 " height="300" marginheight="1 0" align="bottom" scrolling="auto "></iframe>
    If your using Dreamweaver
    Insert-->Tag-->Page Elements
    Look for iframe

    You can css to as well
    Hope this is what you're looking for
    _nomad

    Comment

    Working...