How to set the size of button in HTML

0 votes
On my HTML/JS page, I have a few buttons. The button size is normal when the page is opened in a browser. But the size of the button shrinks as you refresh or reload the page. In actuality, I've left the button text's value blank. There is no text on the button. How can I make my button's size independent of the text size in HTML?
Aug 19 in HTML by Tejashwini
• 540 points
14 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

How to GET background color of a particular portion on the html page

I used Gradient to set the color ...READ MORE

Jul 26 in HTML by Ashwini
• 1,160 points
33 views
0 votes
0 answers

How to rename HTML "browse" button of an input type=file?

How can the browse button be changed ...READ MORE

Jul 27 in HTML by Tejashwini
• 1,960 points
69 views
0 votes
0 answers

How to make a HTML Page in A4 paper size page(s)?

Is it feasible to make an HTML ...READ MORE

Jul 29 in HTML by Tejashwini
• 1,960 points
87 views
0 votes
1 answer

trying to align html button at the center of the my page

For example: HTML <div> <button>Submit</button> </div> CSS button { margin:auto; ...READ MORE

answered Aug 4 in HTML by Deepak
• 940 points
35 views
0 votes
0 answers

How to view an HTML file in the browser with Visual Studio Code?

With the new Microsoft Visual Studio Code, ...READ MORE

Aug 10 in HTML by Deepak
• 940 points
47 views
0 votes
0 answers

how to change color of header in HTML?

Here is my HTML and CSS; the ...READ MORE

Aug 12 in HTML by Tejashwini
• 1,960 points
23 views
0 votes
1 answer

How to create an HTML button that acts like a link

To answer your doubt, the plain HTML ...READ MORE

answered Feb 17 in Others by Aditya
• 7,660 points
377 views
0 votes
0 answers

How do I create an HTML button that acts like a link?

How can I make a button in ...READ MORE

Jul 8 in HTML by Tejashwini
• 1,960 points
32 views
0 votes
0 answers

Embed image in a <button> element

I'm attempting to use an HTML element ...READ MORE

Jul 21 in HTML by Ashwini
• 1,160 points
15 views
0 votes
0 answers

How to call a PHP function on the click of a button

The two buttons on my functioncalling.php page ...READ MORE

Jul 24 in PHP by Kithuzzz
• 11,640 points
445 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP