This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > January 2005 > Form resizing a table cell





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Form resizing a table cell
Steve O

2005-01-31, 7:23 pm

Hi group.
I have a problem with inserting a form element into a table.
You can see the problem here:

www.sallyadamsart.co.uk/demo.htm

As soon as I put the Paypal code in, (which is a form to submit data to
their shopping basket) the browser (IE)
puts a line break in making the cell to high. This is really annoying
me...............

The table underneath shows how it should look (I've just put the button in
and left the form code out)

I know it's not strictly a FP problem, and the page looks fine with Firefox,
but I wonder if someone can help me out?



--
#Reply address#
steve_at_steveolive_dot_co_dot_uk


Murray

2005-01-31, 7:23 pm

Use CSS to redefine the inherent margins on the <form> tag -

table form { margin:0; }

(this will hit every form in every table on the page)

--
Murray

"Steve O" <me@privacy.net> wrote in message
news:41fe79ae$0$117$65c69314@mercury.nildram.net...
> Hi group.
> I have a problem with inserting a form element into a table.
> You can see the problem here:
>
> www.sallyadamsart.co.uk/demo.htm
>
> As soon as I put the Paypal code in, (which is a form to submit data to
> their shopping basket) the browser (IE)
> puts a line break in making the cell to high. This is really annoying
> me...............
>
> The table underneath shows how it should look (I've just put the button in
> and left the form code out)
>
> I know it's not strictly a FP problem, and the page looks fine with
> Firefox,
> but I wonder if someone can help me out?
>
>
>
> --
> #Reply address#
> steve_at_steveolive_dot_co_dot_uk
>
>



Steve O

2005-01-31, 7:23 pm

Thanks, I'll give it a go.

"Murray" <forums@HAHAgreat-web-sights.com> wrote in message
news:ORnQt$8BFHA.2428@TK2MSFTNGP14.phx.gbl...
> Use CSS to redefine the inherent margins on the <form> tag -
>
> table form { margin:0; }
>
> (this will hit every form in every table on the page)
>
> --
> Murray
>
> "Steve O" <me@privacy.net> wrote in message
> news:41fe79ae$0$117$65c69314@mercury.nildram.net...
in[color=darkred]
>
>



Steve O

2005-01-31, 7:24 pm

Brilliant. A bit of messing around to get there, but that's how we learn.
Thanks so much for your time.


Murray

2005-01-31, 7:24 pm

You're welcome!

--
Murray

"Steve O" <me@privacy.net> wrote in message
news:41fe9735$0$104$65c69314@mercury.nildram.net...
> Brilliant. A bit of messing around to get there, but that's how we learn.
> Thanks so much for your time.
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews