Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 10:30 PM
Kev
Guest
 
Posts: n/a
Default form with only hidden elements creates whitespace : (

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
  #2  
Old July 20th, 2005, 10:32 PM
Brian
Guest
 
Posts: n/a
Default Re: form with only hidden elements creates whitespace : (

Kev wrote:[color=blue]
>
> 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">).[/color]

Is this a table misused for layout?

http://www.allmyfaqs.com/faq.pl?Tableless_layouts
[color=blue]
> 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.[/color]

You cannot remove the form element from that table data cell?
[color=blue]
> 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 : )[/color]

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/

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles