PDA

View Full Version : dealing with a break NS automatically inserts after a form


DoubleV
02-11-2003, 04:33 PM
the page can be found at http://www.nimlok.com/new_site/index1.htm
let's say we're gonna take the top text field (the Quick Search) as an example.
teh form is set to

form {
margin: 0px;
padding: 0px;}

but in NS4.x there's still a break after it no matter what. in some instances it would not matter, but it does here, 'cause the way it looks in NS does not do a favor to our design.
compare:
http://www.nimlok.com/new_site/ie_screen1.jpg from IE
and
http://www.nimlok.com/new_site/ns_screen1.jpg from NS

so what can i do about it?

p.s. also, how does the page look in NS6? can anybody post a screenshot?

THANKS

DoubleV
02-11-2003, 05:16 PM
ok and the weird solution was ...
to put <form> tags outside of <td> tags.
uh, as lond as it works :rolleyes:

brothercake
02-11-2003, 05:27 PM
<table>
<form>
<tr>
<td>...</td>
</tr>
</form>
</table>


Works in everything, all the way back to Lynx. Not sure if validates though.

meow
02-12-2003, 12:08 AM
You can trick Nav with negative margins. Don't remember, 10px I think. Same as the body margin trick.