/    Sign up×
Community /Pin to ProfileBookmark

same size and width

hi,
how can make same size of button as text as well as another buton same size as combo box
for eg. CALENDAR button size and width same as date text
SYSTE button size and width same as name select.

<html>
<form>
<body>
<table>
<tr bgcolor=”#cccccc”>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td align=”center”>
<input size=”1″ type=”button” name=”CALENDAR” value=”KALENDAR” >
<input size=”7″ type=”text” name=”date”></td>

<td align=”center”>
<input size=”1″ type=”button” name=”SYSTE” value=”SYSTE”>
<select name=”name”>
<option value=”08:00″>08:00</option>
<option value=”09:00″>09:00</option>
<option value=”10:00″>10:00</option>
<option value=”11:00″>11:00</option>
</select>
</td>
</tr>
</table>
</body>
</html>

thanks in advance

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 28.2003 — Just use styles to specify widths for each element:

<input type="text" name="yourfield" style="width: 100px;">

<input type="button" name="yourbutton" style="width: 100px;">
×

Success!

Help @zuzupus 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.16,
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,
)...