...but that doesn't validate in XHTML Russ. What you want is: 

form {
 margin-bottom: 0 ; 
 margin-top: 0 ; 
} 

This works in most recent browsers methinks.

d

----- Original Message ----- 
From: "Snake Hollywood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 12:14 PM
Subject: RE: [ cf-dev ] CSS for form tag


> Usually you put the form tag between other tags that cannot contain
> content.
> 
> E.g
> 
> <table>
> <form>
> <tr>
> 
> Then the extra space doesn't appear.
> 
> 
> -----Original Message-----
> From: Paul Johnston [mailto:[EMAIL PROTECTED]] 
> Sent: 24 January 2003 12:04
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CSS for form tag
> 
> 
> What's the CSS to stop a form tag outputting loads of space above it?
> You know when you put a form in a page and you just want the button to
> appear inline without any extra stuff (but it's just a button)...
> 
> Paul
> 
> PS It's not possible to move the form anywhere else.  It's just adding
> in extra lines above it that I need to remove.
> 
> -------------------------------------------
> Paul Johnston
> PJ Net Solutions Ltd
> http://www.pjnetsolutions.com
> [EMAIL PROTECTED]
> +44 (0)7866 573013
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] For
> human help, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to