resizing table/iframe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bootstrap bill

    resizing table/iframe

    I have an iframe embedded in a single cell table. I'd like to resize the
    table and iframe to match any changes made to window size. Is this possible?


    --
    "It's easy enough to be pleasant, when life hums along like a song.
    But the man worth while is the man who can smile when
    everything goes dead wrong.".


  • kaeli

    #2
    Re: resizing table/iframe

    In article <FEjCc.61901$wO 4.55944@twister .socal.rr.com>,
    wrcousert@yahoo .com enlightened us with...[color=blue]
    > I have an iframe embedded in a single cell table. I'd like to resize the
    > table and iframe to match any changes made to window size. Is this possible?
    >
    >
    >[/color]

    Why don't you just use percents instead of pixels in the first place?
    It'll resize automagically.

    --
    --
    ~kaeli~
    With her marriage, she got a new name and a dress.



    Comment

    • Bootstrap bill

      #3
      Re: resizing table/iframe


      "kaeli" <tiny_one@NOSPA M.comcast.net> wrote in message
      news:MPG.1b4384 4b2eeae8c0989f2 7@nntp.lucent.c om...[color=blue]
      > In article <FEjCc.61901$wO 4.55944@twister .socal.rr.com>,
      > wrcousert@yahoo .com enlightened us with...[color=green]
      > > I have an iframe embedded in a single cell table. I'd like to resize the
      > > table and iframe to match any changes made to window size. Is this[/color][/color]
      possible?[color=blue][color=green]
      > >
      > >
      > >[/color]
      >
      > Why don't you just use percents instead of pixels in the first place?
      > It'll resize automagically.
      >[/color]

      Thanks for your reply.

      The problem with that is the percentages will change as the window is
      resized..

      Here's what I want

      +-----------------------------------+
      | fixed size menu |
      +-----------------------------------+
      | variable size iframe |
      | resizes with window |
      +-----------------------------------+
      | fixed size footer |
      | copyright notices, etc. |
      +-----------------------------------+

      Can this be done without code?





      Comment

      • kaeli

        #4
        Re: resizing table/iframe

        In article <k7kCc.61907$wO 4.57093@twister .socal.rr.com>,
        wrcousert@yahoo .com enlightened us with...[color=blue]
        >
        > The problem with that is the percentages will change as the window is
        > resized..[/color]

        That's usually a solution, not a problem. ;)
        Fixed-sized things can be problematic for internet apps.
        [color=blue]
        >
        > Here's what I want
        >
        > +-----------------------------------+
        > | fixed size menu |
        > +-----------------------------------+
        > | variable size iframe |
        > | resizes with window |
        > +-----------------------------------+
        > | fixed size footer |
        > | copyright notices, etc. |
        > +-----------------------------------+
        >
        > Can this be done without code?
        >
        >[/color]

        Sure, just use percents for the iframe and not the divs.

        ....But it's going to look really, really awful for a lot of people if
        this is an internet site. Most people use 800 by 600 resolution and a
        lot of web designers use font that is too small, so a lot of users end
        up smacking up their fonts to large or even extra-large. What might that
        do to your fixed layout? Depends how you coded it, of course, but it
        often breaks.
        If a user has a huge window, your header and footer looks stupid with
        the huge iframe. If the user has a really small window, they are stuck
        scrolling.

        Got URL or example HTML?

        It does matter if this is for the internet. If it is, you should really
        be using percents for everything, especially font-sizes, so the
        visually-impaired can still read your stuff, and valid html/CSS so
        special browsers can interpret it properly. If it's a personal site or
        for an intranet, these issues are less of a, well, issue. *g*

        In short, if you use absolute font sizes, some browsers can't increase
        the size without a whole special stylesheet for the user. That's a Bad
        Thing. And one a lot of people don't seem to know.
        OTOH, if you use percents for fonts inside absolutely sized / positioned
        divs, increasing the font size makes it run outside the div. Also a Bad
        Thing.

        --
        --
        ~kaeli~
        Hey, if you got it flaunt it! If you don't stare at someone
        who does. Just don't lick the TV screen, it leaves streaks.



        Comment

        Working...