/    Sign up×
Community /Pin to ProfileBookmark

<input type=hidden> takes extra space…!?

I have a form in a table cell containing an input – type=image and an input – type=hidden.
The second one leaves about 3 pixels space in the cell under the image and this deorganises the appearance of the table.
How can I get rid of this extra space.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@FangJun 03.2005 — [I]input type="hidden"[/I] is not in the document flow and can not cause the problem.

Give the image [I]display:block;[/I] or [I]vertical-align:bottom;[/I]

[URL=http://web.archive.org/web/20040202073255/http://devedge.netscape.com/viewsource/2002/img-table/]Images, Tables and mysterious gaps[/URL]
Copy linkTweet thisAlerts:
@VernonKJun 04.2005 — Does this space appear in your browser when uploaded or in your editor?

Are there any tables around?
Copy linkTweet thisAlerts:
@gebezisauthorJun 04.2005 — Does this space appear in your browser when uploaded or in your editor?

Are there any tables around?[/QUOTE]


I don't use a web editor - I work with simple text editor.

No, there are no tables around. This table is the only thing in a Layer. There are other layers although.

The table consists of one row and 5 columns. In every cell there is a button made of <input type=image> fields in a <form> tags.

This is the only button that has an <input type=hidden> field in it's form, because it transfers variables.
Copy linkTweet thisAlerts:
@CharlesJun 04.2005 — Please post the URL.
Copy linkTweet thisAlerts:
@VernonKJun 04.2005 — It would definitley help if we could see the code. It sounds like it would be a pretty easy fix... just gotta figure it out! ?
×

Success!

Help @gebezis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...