div relocation?

Discussion in 'CSS' started by jnm, Mar 14, 2006.

  1. #1
    how do you make placeholder divs? I want to have the placeholder div show content that is displayed later in another div in the source.

    instead of:
    content above
    <div id="morecontent">some content here</div>
    content below

    I want:
    content above
    <div id="placeholder">show morecontent div stuff here</div>
    content below
    <div id="morecontent"></div>

    I'm not sure how much better to explain it. If you understand what I mean, please help! :D

    Thanks.

    Justin
     
    jnm, Mar 14, 2006 IP
  2. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #2
    I'm not really sure what you mean, but this might help.

    <div id="container">

    <div id="content above">here goes your above content</div>
    <div id="placeholder">show morecontent div stuff here</div>
    <div id="content below>here goed your below content</div>
    <div id="morecontent">even more content</div>

    </div>

    Read more here: http://www.w3schools.com/css/, http://www.w3.org/Style/CSS/, http://www.htmlhelp.com/reference/css/ and much more.. See also related threads all below this page.
     
    WhatiFind, Mar 14, 2006 IP