Log in

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



leonidassavvides
08-04-2008, 09:41 AM
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 ?

DimX
08-05-2008, 08:11 AM
The problem is that you specify two table rows to be displayed inline:


...
<tr id="rent" style="display:inline;">
...
<tr id="rent1" style="display:inline;">
...

Remove those.

Same goes for the showRow function:


// ...
document.getElementById(sRow).style.display = 'inline';
document.getElementById(sRow + "1").style.display = 'inline';
// ...

You should set the display property to an empty string instead.

leonidassavvides
08-05-2008, 12:55 PM
Can you give me please, samples of correct code ?

leonidassavvides
08-05-2008, 01:21 PM
Can you give me please, samples of correct code ?

DimX
08-05-2008, 09:41 PM
Basically you just have to remove everything highlighted in red in my previous post.


...
document.getElementById(sRow).style.display = '';
document.getElementById(sRow + "1").style.display = '';
...
<tr id="rent">
...
<tr id="rent1">
...

Just find and replace.

leonidassavvides
08-06-2008, 09:43 AM
It will still work in ie7 hence unmodified work in ie7 ...?