interesting question about CSS (7 posts)

  1. sindas
    Posted 11 years ago #

    I have a picture, of a wall. what I wanna do is float 2 css boxes on it, I want one of them to have a scroll bar, and the other just to be a menu. I am willing to figure this out, if someone will give me some hints.
    can css have scroll bars? or should I just do this in flash, and if I am doing it in flash can I use WP.
    heres an example.
    its in flash, so maybe I just answered my own question..
    thanks for your help, in advance!

  2. WillM
    Posted 11 years ago #

    Yeah, CSS can have scrollbars. Put height:whatever you want the height to be and overflow:auto in the relevant id.

  3. WillM
    Posted 11 years ago #

    Really? Overflow:auto works for me in Mozilla. It's overflow-y that breaks.

  4. tcervo
    Posted 11 years ago #

    Yes, the scrollbars work in Moz/Firefox. Check out "gemination" at CSSzengarden:
    In fact, browsing through *all* the examples in csszengarden, and looking at how they built their css files, is a great way to learn. I know that several of the designs have scrollbars, but the only one that immediately comes to mind in gemination (note: it only has the scrollbars in non-IE browsers - it's a great example of using clever css to have one file serve up 2 *very* different sites. Check it out in IE, then again in Mozilla/Firefox, Opera, Safari, etc.)

  5. sindas
    Posted 11 years ago #

    how do I pull this off?
    thats really what I need to know.

  6. ByteWarrior
    Posted 11 years ago #

    You can find the stylesheet of that Zen-page here (just read the source). It shouldn't be difficult to search for the things you want with this stylesheet.

  7. sindas
    Posted 11 years ago #

    yeah, I found that already. I just wish there were pics included, so I know where everything falls.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.