WordPress.org

Ready to get started?Download WordPress

Forums

Scrollbars (22 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Am I alone in seeing scroll bars in the posts on this site?

  2. Nick Momrik
    Member
    Posted 10 years ago #

  3. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    On all the posts, or just some?

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Just on some. Both H & V. When seen they occur consistently from then on in that post. About four seen so far. Resizing window makes no difference. This could be cool. If we can find out how it works we might be able to add it to our designs! TY allusion for your interest.

  5. tcervo
    Member
    Posted 10 years ago #

    Unless I'm mistaken...
    In your CSS file, apply the following to an appropriate selector:
    width:100%;
    overflow:auto;
    I use the above for the pre tag, but it looks like it's being used on the post in this case...
    -Tony

  6. WillM
    Member
    Posted 10 years ago #

    It seems to be a Mozilla-only thing. Just looked at this thread in Opera and IE and it doesn't happen, but in Mozilla and Firefox there are two scrollbars on the top post. I am also getting a horizontal scroll on this textbox in 800x600, but I guess that's because its former screen space is being eaten by the UGS.

  7. Stevarino
    Member
    Posted 10 years ago #

    you forgot an anchor... sheesh

  8. tcervo
    Member
    Posted 10 years ago #

    It's not a Moz/FB thing at all...Take a look at ihad's example of a very long post in IE...I'm getting both H and V scrollbars (and H scrollbar in Opera, but the lack of V srollbar probably has to do with differences in sizing...) You *should* get the scrollbars in any browser that understands overflow:auto;
    -Tony

  9. Stevarino
    Member
    Posted 10 years ago #

    The
    solution wouldn't work for people posting code. Parse errors galore.

  10. ihad
    Member
    Posted 10 years ago #

    ah, but you could set code in it's own <div> tag inside the text body and have just the code div scroll instead of the whole text body.
    or maybe just leave it as it is :)

  11. WillM
    Member
    Posted 10 years ago #

    @tcervo: You're right, ihad's post does have scrollbars in other browsers beside Mozilla/FF, but Mozilla is producing them in some posts - like the one I mentioned - where other browsers don't.
    The horizontal scrolls are an improvement on the previous behavior of overlapping the UGS but I wish there was some way of getting rid of the vertical ones for Mozilla users, since overflow-y doesn't work for us.

  12. Anonymous
    Unregistered
    Posted 10 years ago #

    This Unidentified Screen Phenomena is really interesting. I am on FF downloaded on day one. Not sure what version that would be. I am seeing
    scrollbars in posts without block or pre formatted text or at least not apparently so. I can not find the css for the wp blog but if Matt is following his normal current thinking it must be fixed width. Hence pre and blocks + urli's need to be dealt with somehow. What is wierd is the lack of identifiable consistency.

  13. Anonymous
    Unregistered
    Posted 10 years ago #

    CSS Spec:
    <pre>The behavior of the 'auto' value is user agent-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.</pre>
    Thats clear then.

  14. Anonymous
    Unregistered
    Posted 10 years ago #

    Note the user agent dependent bit guys.

  15. Anonymous
    Unregistered
    Posted 10 years ago #

    @ tcervo when you say you *should* get the scrollbars in any browser which understands scrollbars that would presumably limit our accessibility to css2 compliant browsers right? And would I be right in thinking that some very clever folks think the css reccomendation is in fact ambiguous about these scrollbars. Plus there are a whole mess of bugs in IE on Macs. And Opera 5.

  16. Stevarino
    Member
    Posted 10 years ago #

    ihad: How about instead of a div, you use a pre? That's what I use... However that still doesn't fix the problem of long hyperlinks.

  17. tcervo
    Member
    Posted 10 years ago #

    Anon,
    Well, I seem to be getting scrollbars just fine on IE5.2/Mac...

  18. Anonymous
    Unregistered
    Posted 10 years ago #

    I am just guessing but obviously Matt is well in front of us and may have used a hack eg Peter-Paul Kochs. Incidentally scrollbars seem to have become fashionable overnight. Now I am seeing them everywhere.

  19. Anonymous
    Unregistered
    Posted 10 years ago #

    This takes us back to somewhere near where we gotten started sometime ago.
    A blog obviously needs a vertical nav bar because it has a lot of links. The content is generally a lot of text. Now: How wide do we think that content area should be as an *optimum*. And what is the point of voluntarily giving up width
    by fixing our widths so we can show off fancy backgrounds and not even using the width that we have got? And two: If we need pre, block, code and uris to go in the blog which we clearly do then as a minimum can the php be fixed so that the relevant text at least always line breaks before it gets started?
    Last thought. Some guys have being trying to point out for a while that good design involves rather more than css validation.

  20. Anonymous
    Unregistered
    Posted 10 years ago #

    code should not be too difficult. Generally the line length is pretty short. Your fix on URIs is fine. How do we stop people putting them in comments though?

  21. ihad
    Member
    Posted 10 years ago #

    as i said earlier, have a routine that checks for urls, parse them and break the descriptive part by adding a br tag at charcount x
    of course you need to leave the ahref="..." untouched.
    easy (see e107.org for a working example, they use it in their chatbox, write a very long sentence there without any spaces and see what happens.)

  22. Anonymous
    Unregistered
    Posted 10 years ago #

    ty ihad. This issue has been worrying me as I get wp set up. You have been very informative. Good luck.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.