I’m using a search formfield that I want to snug up pretty close to the top of the div containing it. For some reason, though, I can’t get rid of what looks like top and bottom margin on this field (div background is red to highlight the problem – the left margin is intentional). Tried setting them to 0 of course, and setting top and bottom individually. Also tried 1px, but seems the minimum is about 10 or 15 – any less than that and it doesn’t get any closer to the top. The div doesn’t have any padding, so that shouldn’t be it.
Here’s the sample:
[url]http://www.cultivatedesign.org/ecor/test.html
Any idea why this is?
Also, I seem to have to set this div’s positioning to absolute. If I don’t it pops down to the next line – even though it’s not inside anything with a limited width, and the item preceding it is set to float: left.
Any idea why this is happening?
– Bob