How do you make an IFRAME 100% in height?

Discussion in 'Programming' started by gregdavidson, Oct 30, 2008.

  1. #1
    I'm trying to make the inline frame for my Amazon Store (aStore) 100% in height. When I set the width to 100% it works but doesn't work for the height.
     
    gregdavidson, Oct 30, 2008 IP
  2. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #2
    use this code:

    <body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0><iframe height=100% width=100% frameborder=0 src=http://google.com></iframe>
    Code (markup):
     
    happpy, Oct 30, 2008 IP
  3. balubalu

    balubalu Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you do something like height =100% width = "400" ? Will that work?
     
    balubalu, Nov 1, 2008 IP
  4. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #4
    i can. question is, if you can. try it. asking here takes longer than simply trying it.
     
    happpy, Nov 1, 2008 IP
  5. gregdavidson

    gregdavidson Well-Known Member

    Messages:
    2,448
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    160
    #5
    The 100% in height just works for IE but only when I set the table to a certain height. I want the frame to maximize in height if the description of a product gets longer.
     
    gregdavidson, Nov 1, 2008 IP
  6. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #6
    no "please", no "thanks" in all your posts but keep on requesting more free help...
    anyhow, i am used to rude people so i even help those...

    its hard to help out without seeing an example page. please provide the link to your aStore. i cannot wait to help you. thank you so much
     
    happpy, Nov 1, 2008 IP
  7. gregdavidson

    gregdavidson Well-Known Member

    Messages:
    2,448
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Ummmmmm....................ok.
     
    gregdavidson, Nov 2, 2008 IP
  8. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #8
    i was serious... provide the link and you´ll be helped.
     
    happpy, Nov 2, 2008 IP