Re: Re: Forms and Netscape -- spacing problem -- Help!

From: Date: Wed, 24 Oct 2001 03:28:13 +0000
Subject: Re: Re: Forms and Netscape -- spacing problem -- Help!
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-72043@lists.php.net to get a copy of this message
On Wed, 24 Oct 2001 11:18:04 +1000, James Cave wrote: > >> I gave it a try >> NN4.7 and 6.1 both ignored the 'display: inline' css in my test > >There was actually an error in the HTML I posted, try this: > ><table bgcolor=red><tr><form><td>1. form tag outside of >cell</td></form></tr></table> ><table bgcolor=red><tr><form><td>2. form tag outside of >cell</td></form></tr></table> ><table bgcolor=red><tr><form><td>3. form tag outside of >cell</td></form></tr></table> ><table bgcolor=blue><form><tr><td>4. form tag outside of >row</td></tr></form></table> ><table bgcolor=blue><form><tr><td>5. form tag outside of >row</td></tr></form></table> ><table bgcolor=blue><form><tr><td>6. form tag outside of >row</td></tr></form></table> ><form style="display: inline;"><table bgcolor=green><tr><td>7. > inline >css</td></tr></table></form> ><span style="display: inline;"><form style="display: >inline;"><table >bgcolor=green><tr><td>8. inline css on span and >form</td></tr></table></form></span> ><span style="display: inline;"><form style="display: >inline;"><table >bgcolor=green><tr><td>9. inline css on span and >form</td></tr></table></form></span> ><form style="display: inline;"><table >bgcolor=green><tr><td>10. >inline >css</td></tr></table></form> > >The HTML above works in IE based on the CSS applied to the form tag, >in >Netscape based on the CSS applied to the bounding span. > >> It may be compliant but it doesn't really work as well as hiding >>the form tags between table rows or cells. > >I actually found that the code you posted doesn't work at all, I'm >using >Navigator 4.74, and each table with form elements embedded simply >pushes >the block element to the end of the table, as described in my >previous >post. that just means you have to move the end form tag past the end of the page content. The HTML I've posted here actually shows whitespace between >1&2, >2&3, 3&4, 4&5, 5&6 and 7&8. No whitespace appears between 6&7, 8&9, >9&10. > >Is this what you see? yes for NN4.78, 6.1 shows only 1-6 correctly. earlier versions of netscape won't show any of these correctly but 1-6 will come the closest. >IE shows no whitespace anywhere. yes for 6.0 but earlier versions only show 1-6 correctly. >No whitespace between 6&7 throws me a little, considering there is >whitespace between all other blocks above, but the absence of >whitespace >between 8&9 and 9&10 is what I was originally trying to describe. > -- Mark, maggelet@mminternet.com on 10/23/2001

« previous php.general (#72043) next »