WordPress.org

Ready to get started?Download WordPress

Forums

interesting question about CSS (7 posts)

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

  2. WillM
    Member
    Posted 10 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
    Member
    Posted 10 years ago #

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

  4. tcervo
    Member
    Posted 10 years ago #

    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.)

  5. sindas
    Member
    Posted 10 years ago #

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

  6. ByteWarrior
    Member
    Posted 10 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
    Member
    Posted 10 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.