Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9058743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:47:59+00:00 2026-06-16T14:47:59+00:00

Please see the image above. I have had this problem for a few times.

  • 0

enter image description here

Please see the image above. I have had this problem for a few times. The text never alines with the button.
How can we change it so that they will aline?

The code is simply:

<td><label>Image/Avatar Upload</label></td>
<td><input type="file" name="avatar"></td>

and the css:

input {width: 350px; font-size: 20px; padding: 2px;}

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T14:48:00+00:00Added an answer on June 16, 2026 at 2:48 pm

    The short answer is: don’t bother trying to style file inputs

    The long answer: Completely controlling the styling file inputs have eluded us for years. They have components that fall under what’s called Shadow DOM. We can see them, but we can’t really touch them. The newer input elements (date, time, color, etc.) have the same “problem”.

    It should be noted that not every browser styles file inputs the same way. If you really really want to control this element, you have to replace it (google: “replace file input with image”). If you do this, the user will lose the ability to see exactly which file is being uploaded when they’re not interacting with the file input element (due to security reasons, the filename will be accessible via JavaScript, but the path won’t be).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small problem. Please see image below: I had problems positioning TextView1
Please see this This Image for a picture of the problem. I have a
Please take a look at the image above. You can see that the navigation
I have logo and logo name as text to display. Please see the image
I have 2 related Linq to SQL questions. Please see the image below to
(Problem solved, please see the updates) I have some files that have incorrect filenames
Please see the attached image. I'm trying to change the color on the segmented
Please see here , at the end of the post, the 70px author image
Please see this example: if (strlen($_SESSION['userDetails']['THISNAME']) == 0) { $_SESSION['userDetails'][''.$THISNAME.'Error'] = autofocus; include $docRoot/html/forms/reg/user_info.html.php;
Please see this IBM site - http://www.ibm.com/us/en/ If you see the site banners, there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.