Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / January 2004



Tip: Looking for answers? Try searching our database.

form with only hidden elements creates whitespace : (

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kev - 28 Jan 2004 22:31 GMT
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
Brian - 31 Jan 2004 16:15 GMT
> 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?

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.