Web Analytics Made Easy -
StatCounter Sizing image within table within popup dynamically? - CodingForum

Announcement

Collapse
No announcement yet.

Sizing image within table within popup dynamically?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sizing image within table within popup dynamically?

    I have a popup window, which contains on the left side an image 530x530, and on the right side a form with text area that requires 250 pixels. If the browser's available width turns out to be less than 780, then the form gets tossed under the image - not what I wanted. I guess the best way out is to have the image within a table with its width based on percentage, while the form area always is allocated a width of 250. But how do I code that? Do I need to write a script and change it dynamically? How do I get the image portion of the table to equal 100% of (available width - 250), when available width is less than 780? Thanks.

    G

  • #2
    Re: Sizing image within table within popup dynamically?

    <table><tr>
    <td width="530"><!--image here--></td><td width="250"><!--textarea here--></td>
    </tr></table>

    Originally posted by gorilla1
    I have a popup window, which contains on the left side an image 530x530, and on the right side a form with text area that requires 250 pixels. If the browser's available width turns out to be less than 780, then the form gets tossed under the image - not what I wanted. I guess the best way out is to have the image within a table with its width based on percentage, while the form area always is allocated a width of 250. But how do I code that? Do I need to write a script and change it dynamically? How do I get the image portion of the table to equal 100% of (available width - 250), when available width is less than 780? Thanks.

    G
    Glenn
    vBulletin Mods That Rock!

    Comment

    Working...
    X