Results 1 to 6 of 6

Thread: Search Form to the upper left appear normal in ie7 but not normal in Safari or Opera

  1. #1
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Search Form to the upper left appear normal in ie7 but not normal in Safari or Opera

    Search Form to the upper left of page at www.Polis-RealEstate.eu appear normal in ie7 but not normal in Safari(win) or Opera(expecially when you press the "Buy" radio button) ... well, how to correct ?

  2. #2
    Join Date
    Jun 2006
    Posts
    182
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default

    The problem is that you specify two table rows to be displayed inline:
    Code:
    ...
    <tr id="rent" style="display:inline;">
    ...
    <tr id="rent1" style="display:inline;">
    ...
    Remove those.

    Same goes for the showRow function:
    Code:
    // ...
    document.getElementById(sRow).style.display = 'inline'; 
    document.getElementById(sRow + "1").style.display = 'inline';
    // ...
    You should set the display property to an empty string instead.

  3. #3
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Can you give me please, samples of correct code ?

  4. #4
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Can you give me please, samples of correct code ?

  5. #5
    Join Date
    Jun 2006
    Posts
    182
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default

    Basically you just have to remove everything highlighted in red in my previous post.
    Code:
    ...
    document.getElementById(sRow).style.display = ''; 
    document.getElementById(sRow + "1").style.display = '';
    ...
    <tr id="rent">
    ...
    <tr id="rent1">
    ...
    Just find and replace.

  6. #6
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    It will still work in ie7 hence unmodified work in ie7 ...?

Bookmarks

Posting Permissions

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