Support » Themes and Templates » interesting question about CSS

  • 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.
    http://www.enjoyincubus.com/
    its in flash, so maybe I just answered my own question..
    thanks for your help, in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yeah, CSS can have scrollbars. Put height:whatever you want the height to be and overflow:auto in the relevant id.

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

    Yes, the scrollbars work in Moz/Firefox. Check out “gemination” at CSSzengarden:
    http://www.csszengarden.com/?cssfile=062%2F062%2Ecss
    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.)

    how do I pull this off?
    http://www.csszengarden.com/?cssfile=/079/079.css&page=0
    thats really what I need to know.
    thanks

    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.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘interesting question about CSS’ is closed to new replies.