Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorFayez
    • CommentTimeMar 16th 2006 edited
     # 1
    see this


    111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111




    we need fixed size....
    •  
      CommentAuthorWallPhone
    • CommentTimeMar 16th 2006 edited
     # 2
    I believe we can fix this by setting in the stylesheet on the CommentBody class overflow: Scroll.

    I think there is another style that may have to be set to get it working properly...Let me test!

    Edit:
    Add a new line in global.css around line 560 or so:

    overflow: auto;

    Overflow: scroll will add scrollbars to all posts, auto will use them only when needed.
    •  
      CommentAuthorBergamot
    • CommentTimeMar 16th 2006
     # 3
    As far as I know, overflow:auto doesn't work in IE
    • CommentAuthorcorwin
    • CommentTimeMar 17th 2006 edited
     # 4
    Isn't this word wrapping?
    For example:


    <div STYLE="word-wrap: break-word">blablablablablabla</div>
    • CommentAuthorcorwin
    • CommentTimeMar 17th 2006 edited
     # 5
    wrong post sry
    •  
      CommentAuthorBergamot
    • CommentTimeMar 17th 2006
     # 6
    It isn't word-wrapping, because the string in question has no spaces. It is treated as one word as far as layout goes.

    It is certainly possible to turn character wrapping on and fix that problem, but I doubt that would be acceptable.

    The two main situations in my forum that cause the scroll are big pictures, and long URLs
    •  
      CommentAuthorWallPhone
    • CommentTimeMar 17th 2006 edited
     # 7
    Tested with I.E. 6.0--It turns out you have to specify the width, which forces IE to restrict the box and give the scrollbars a fighting chance.

    So you have to add two lines under .CommentBody:

    overflow: auto;
    width: 99%;


    Here is a demo for others to try:
    http://edacio.us/forum/comments.php?DiscussionID=23

    Edit:
    MS says that it should work for I.E. 4.0 and later.
  1.  # 8
    I seem to remember overflow: scroll working just fine on lechs root styles. And i'm pretty sure scroll bars only popped up when they were needed. I might be going insane though.
    •  
      CommentAuthorFayez
    • CommentTimeMar 17th 2006
     # 9
    Thanx guys, am still working on it!!!!
    •  
      CommentAuthorFayez
    • CommentTimeMar 17th 2006
     # 10
    i need another way....

    this way is not good >...

    ):
    •  
      CommentAuthorWallPhone
    • CommentTimeMar 17th 2006
     # 11
    Well... the only way to break it without the scrollbar would be to insert a breaking character (such as a space) at intervals in the string, whenever the string runs on without one. (Google does this with the green text below their search results, if you try it in I.E.)

    Splitting is not recommended if the text is copy/paste code or URLs. But clickable URL text could be split in this manner.

    If you want to limit the width of images, they will have to have width coded in the CSS, which could get ugly. Or use a thumbnailer to show a thumbnailed version with a link to the large image.
    • CommentAuthorFreedman
    • CommentTimeMar 20th 2006
     # 12
    The scroll thing seems to be acceptable--do you see any problem with that?
    •  
      CommentAuthorlech
    • CommentTimeMar 20th 2006
     # 13
    if it's for a clickable url, I would recommend that the function which handles auto-linking possibly be patched (if it already isn't) to shorten the display url after 50+ characters.
Add your comments
    Username Password
  • Format comments as