A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: 2 css questions

  1. #1
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118

    2 css questions

    1: can I load a html page into a div tag?

    2: can I put a div inside of a div?

  2. #2
    1) yes, using the object tag
    2) yes, it is used quite often

  3. #3
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118
    object tag?????

    That easy

    I have been using PHP!!

    How does that work?

  4. #4
    objecttest.html
    Code:
    <html>
    <head><title>Object test</title></head>
    <body>
    
    <object data="objecttest2.html" type="text/html"></object>
    </body>
    </html>

    objecttest2.html
    Code:
    <p> This is in object test 2 </p>

    output of objecttest.html
    This is in object test 2

  5. #5
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118
    so....


    <div class="tester">
    <object data="objecttest2.html" type="text/html"></object>
    </div>

    Will have objecttest2.html show up inside of tester?

  6. #6
    yes, but I don't think that it will be the same as have the code from objecttest2 directly in the div. But, test it out, you may have to have the CSS in the included file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center