Results 1 to 2 of 2

Thread: Fit tagle to window in Firefox

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Posts
    30

    Fit tagle to window in Firefox

    I have a one-row, two column table with a Google map in the left cell and a long html string in the right.

    Specifying height 100% for the table and the cells sets the height to 100% of the viewport in IE9, but 100% of the html string in FF and other browsers. I am going nuts trying to work out how to achieve in FF, Safari and Chrome what this code does in IE.

    Another annoyance is that only IE gives me the ability to scroll the right cell independently.

    The page can be found at www.scruffysoft.co.uk - follow the "Lancashire District Churches by Circuit" link.

    Can you help?

  2. #2
    Addicted Member
    Join Date
    Feb 2010
    Location
    Damascus - Syria
    Posts
    145

    Re: Fit tagle to window in Firefox

    hi

    you may set height as number not percentage, get the window height using JavaScript then set this value to the cells.

    for scroll bar, use the CSS property overflow and set its value to scroll

    that works here, (I am using FF 9.0.1)

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