Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Content area expands in IE, not Firefox

    We have created a page which allows visitors to choose from a menu on the left and have either a picture or some text appear in a main content area. The main content area may need to expand to accept longer pieces of text. The site can be found here:

    http://www.ravenscroft.org/finearts/...0052006/lh.htm

    If the site is viewed in IE it works fine, and it worked in Firefox last year. This year however, the newer version of Firefox doesn't expand the content area. Would someone be willing to look at the code and offer suggestions? It would be greatly appreciated.

    The external stylesheet can be found here:
    http://www.ravenscroft.org/finearts/...2006/style.css
    and the id in question is titled #canvas

    Thanks in advance for your help!!!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You need to remove the height from #canvas for it to expand. I don't think it ever worked in Firefox. You probaby never had an image that was large enough.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Aerospace.
    We had the height set for #canvas because we wanted that to be the default, or minimum height. I thought that setting overflow to auto would then enable it to expand as needed, but that didn't work.

    Do you (or anyone else) know why I can't set overflow to auto to fix the problem?

    Thanks!!

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You didn't even have overflow:auto; for #canvas when I looked at the CSS.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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