SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Wizard geiger's Avatar
    Join Date
    Jul 2001
    Posts
    2,459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DHTML, Layers, and Tables

    im making a new template just for the heck of it, and i wanted to add an iframe in it for content. however, because it does not work in netscape, i looked to dhtml. my page uses a table which's width is 100% and it has a set height. the table is then centered vertically.

    within that table, i have a streching cell for content [298 by (100%-213)]. i don't think i can make dhtml, using layers, position itself relative to the table (i think you CAN, but thats not the only problem). also, since the content area streches horizontally, you can't set the width of the layers. is there an alternative? or is there a way around this.

  2. #2
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi geiger,

    I can't picture what you are saying, but...

    Have you tried using <ilayer src=....> along with the <iframe> (which is IE's answer to NN's ilayer)? You can position an <ilayer> relative and <layer> within them absolutely.

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2001
    Location
    UK
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is an ilayer?

    A layer can have a percentage width like a table!

  4. #4
    SitePoint Wizard geiger's Avatar
    Join Date
    Jul 2001
    Posts
    2,459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hm... it can? well even THAT wouldnt help. i need 100%-213. i dont think it can do that. and even so, how do you position relative to a corner of a table? or a cell?

  5. #5
    SitePoint Zealot pnathan's Avatar
    Join Date
    Sep 2001
    Location
    Amsterdam
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    iframe is not the same as ilayer. You can internally navigate in an iframe but you cannot do this from and ilayer. It is very annoying because iframe is very cool and useful. Does anybody know an iframe alternative for netscape?


Bookmarks

Posting Permissions

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