By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,765 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,765 IT Pros & Developers. It's quick & easy.

form with only hidden elements creates whitespace : (

P: n/a
Kev
Hello, I'm pretty sure this is the right place to post and I hope
someone can help me. I'm more of a cgi scripter, so I'm not 100%
familiar with stylesheets but I know enough to get by.

The problem I am having is this: I have a table with two colums. I the
first colum is just text. In the second there is 1) an image and 2) a
form with just a hidden element (i.e. <input type="hidden">). The
image is the same height as I would like the cell (and the row) to be,
however the hidden form seems to be pushing the borders of the cell
outwards. This means that my row height is too high.

This happens in IE, dont know about netscape. It is OK in Opera. The
only thing I have tried is putting just the form itself in an
invisible <div> tag, but this didnt work (probably cause invisible
divs still take up the same space as their content : )

This is crazy, could it be a problem with IE or is there a way to fix
this... please help me...

Cheers

Kev
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Kev wrote:

I have a table with two colums. I the first colum is just text. In
the second there is 1) an image and 2) a form with just a hidden
element (i.e. <input type="hidden">).
Is this a table misused for layout?

http://www.allmyfaqs.com/faq.pl?Tableless_layouts
The image is the same height as I would like the cell (and the row)
to be, however the hidden form seems to be pushing the borders of
the cell outwards. This means that my row height is too high.
You cannot remove the form element from that table data cell?
This happens in IE, dont know about netscape. It is OK in Opera.
The only thing I have tried is putting just the form itself in an
invisible <div> tag, but this didnt work (probably cause invisible
divs still take up the same space as their content : )


I don't know what an invisible div is. Do you mean the visibility
property in css?

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.