/    Sign up×
Community /Pin to ProfileBookmark

Html button as link

Hello,

I have a table where I want to use 3 buttons in each row. My problem is that if I put a new form tag for each button than the form automaticaly creates some space below the button.

Is it possible to insert buttons without any margin?

Thanks!

At the moment I have a code like this:

[code]
<table>
<tr>
<td>row1</td>
<td><div id=”navbutton”><form method=”LINK” action=”update1.php”><input type=”submit” value=”Update-1″></form></div>
<td><div id=”navbutton”><form method=”LINK” action=”update2.php”><input type=”submit” value=”Update-2″></form></div>
<td><div id=”navbutton”><form method=”LINK” action=”update3.php”><input type=”submit” value=”Update-3″></form></div>
</tr>
</table>
[/code]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@thewebmanApr 04.2006 — for one thing, only one div can have an id of #navbutton, use classes instead.
Copy linkTweet thisAlerts:
@felgallApr 04.2006 — <form style="display:inline" method=......
×

Success!

Help @elmu 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...