In article <3c453e7e$0$10094$[EMAIL PROTECTED]>, Roland M�sl wrote: > "Simon Montagu" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> "Roland M�sl" wrote: >> >> > >> > > and <p> tags cant have form elements within them. >> > >> > Why? It this a sort of bizarre Mozilla bug? >> >> Absolutely not. >> >> http://www.w3.org/TR/html4/struct/text.html#edef-P >> >> "The P element represents a paragraph. It cannot contain block-level >> elements (including P itself)." > > And only from this, You think Mozilla should make > a penalty to all ignoring this, by ignoring the align=right ? >
As another poster pointed out, this has to do with the error correction mechanism, and the fact you can omit end-tags in HTML. When you wrote: <p align="right"><p><form> (as I recall from your page) since you can't put paragraphs or forms in paragraphs, it assumes you omitted the end-tag for the first paragraph and turns it into: <p align="right"></p><p></p><form> implied end-tags-^^^^---^^^^ I think what you want to do is replace the first <p> with a <div> and add a <br> for spacing if necessary, e.g. <div align=right><br><form>. This will produce the right effect. -- Chris Hoess
