Treehouse: Grow your CSS skills. Land your dream job.

[Solved] Need a Block Level Element

  • # December 3, 2009 at 1:23 pm

    I need a block level element that can be wrap a div. I was thinking of <frameset>

    I have never used it. But it would be like this


    the idea is that I need the frameset to be a block level element so that I can call it from jquery

    would this be propper usage?

    # December 3, 2009 at 2:15 pm

    Can’t you just use another Div? A div is a block-level element.
    It would be inappropriate use of a frameset given that it isn’t a frameset ;)

    # December 3, 2009 at 2:22 pm

    I could use another div, but I am looking for another block lelel element that can be used inside a block level element that I can hook onto. Thsi way I can say…find all blocks and hide them

    # December 4, 2009 at 2:22 am

    Use a div, and give it a class to differentiate itself. Then you can hide all divs with that class.

    # December 4, 2009 at 1:50 pm

    what a great idea. I get so wrapped up in code that I think the only sollution is a code sollution. So I was looking into arrays and loops and all kinds of stuff. didn’t stop to consider the obvious. Thanks for the solution, Worked like a charm

    # December 4, 2009 at 1:54 pm

    Excellent! Simplicity FTW :)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.