Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Need a Block Level Element

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27066
    cybershot
    Participant

    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

    <frameset><div></div></frameset>

    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?

    #67457
    box
    Member

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

    #67459
    cybershot
    Participant

    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

    #67487
    AshtonSanders
    Participant

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

    #67519
    cybershot
    Participant

    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

    #67520
    AshtonSanders
    Participant

    Excellent! Simplicity FTW :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.