I have a "problem", that in to tables (cascaded), that adds /
takes up space at the end of my file....
in PHP, I have:
}
echo "";
Which results in:
value="Cancel">
Removing the and it takes up less space... I have a feeling
that it is this specific file, but I cannto figure what causes it.
WBR
Sonnich
Re: </form> adds space to end of file?
am 26.11.2007 09:55:08 von Ben C
On 2007-11-26, jodleren wrote:
> Hi!
>
> I have a "problem", that in to tables (cascaded), that adds /
> takes up space at the end of my file....
>
> in PHP, I have:
>
> }
> echo "";
>
> Which results in:
>
>
>
> value="Cancel">
>
>
>
>
> Removing the and it takes up less space... I have a feeling
> that it is this specific file, but I cannto figure what causes it.
It is probably the default bottom margin of 1em on form applied by many
browsers in quirks mode (although some do it whether in quirks mode or
not).
Leave the in (assuming there is a corresponding
style="margin-bottom: 0"> at the point of opening it, although using
external stylesheets is usually a better way to organize your styles.
Don't be tempted to leave out. You may get the display you want
but you're relying on how browsers heuristically patch up invalid
markup, which is risky and likely to bite you later.
Re: </form> adds space to end of file?
am 26.11.2007 10:23:13 von Els
jodleren wrote:
> I have a "problem", that in to tables (cascaded), that adds /
> takes up space at the end of my file....
Set this in your stylesheet:
form{margin-bottom:0;}
--
Els http://locusmeus.com/
Re: </form> adds space to end of file?
am 26.11.2007 10:26:10 von Els
Ben C wrote:
> It is probably the default bottom margin of 1em on form applied by many
> browsers in quirks mode (although some do it whether in quirks mode or
> not).
[snip]
Oops, sorry Ben, didn't see your reply before I wrote mine. Yours is
complete enough not to add to it :-)
--
Els http://locusmeus.com/
Re: </form> adds space to end of file?
am 26.11.2007 11:08:37 von jodleren
On Nov 26, 10:55 am, Ben C wrote:
> On 2007-11-26, jodleren wrote:
>
> Set form { margin-bottom: 0 } in the styles, e.g. by using
> style="margin-bottom: 0"> at the point of opening it, although using
> external stylesheets is usually a better way to organize your styles.
>
> Don't be tempted to leave out. You may get the display you want
> but you're relying on how browsers heuristically patch up invalid
> markup, which is risky and likely to bite you later.- Hide quoted text -