try putting your div tags on the outside of your form tags… a div is like a box, and you have your form hanging out of it.
if that doesn’t work… ummm…
Phil
I’ve just tried implementing something based on this at http://www.jamesmorley.net and found that all you should need is a clear=”all” in the
tag between the two input tags.
Hence your final html should look like….
<div><label>Login:
<input type=”text” name=”log” id=”log” value=”” size=”20″ tabindex=”7″ /></label><br clear=”all” />
I’m no css guru, so there may be more elegant ways than this, but it works for me.
My next task is to code this so none of it appears if you *are* logged in. How does yours work?
Cheers
James
lol, what I said would have been fine in the good old days of HTML 3.2, but I think in this context a style along the lines of
form br { clear: both; }
is more what is needed.
This will only affect br tags within forms, but does assume that you don’t want more control of br tags elsewhere *within* any form, in which case you’ll have to set up a specific class for this instance.