div overflow problem...

Discussion in 'HTML & Website Design' started by SedNaX, Jun 23, 2007.

  1. #1
    Hi, I just launched a blog for updates etc for my game, i'm trying to place the content in a scrollable box of ~400x400px with this element:

    <div style="overflow:auto; width:385; height:348" >
    content...
    </div>


    it has always worked for me, but now i just can't get it right. I can't find the error also... maybe i'm just looking wrong but i have no idea.

    the url is www.orgianablog.com/orgianablog

    if anyone could take a look it would really help me :)

    thanks a lot :D
     
    SedNaX, Jun 23, 2007 IP
  2. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #2
    What exactly isn't working? I can't see any errors on your page. Maybe you don't have enough text and that's why you can't see a scrollbar?
     
    Katy, Jun 23, 2007 IP
  3. ICE_monky

    ICE_monky Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Heres a string of code that works. What you've got looks right. try copy and pasting the following and editing for your specifications. The only other thing that I can think of that may pose a problem is if you have an open div tag that isn't closed in the correct place.

    <div style="border: solid 1px #333333; background : #ffffff; color : #333333; padding : 4px; width : 100px; height : 100px; overflow : auto; "> Content<br><br><br><bR><bR><br><br><bR><bR><br><br><br>content
    </div>
     
    ICE_monky, Jun 23, 2007 IP