WebSite X5Help Center

 
Juergen S.
Juergen S.
User

In a form the input type file height is much too flat by inline style  en

Author: Juergen S.
Visited 1161, Followers 1, Shared 0  

As you can see in the picture:

In my form the height of an input type = file is much too flat.

The other kinds of inputs work fine.

18px isn't enough, and I can't change it by css, because it's made by inline-style.

it's not a matter of the browser.

What can I do?

Posted on the
5 ANSWERS - 2 USEFUL
Incomedia
Claudio D.
Incomedia

Hello Juergen,

The hegit of this field is automatically generated by the browser. The inline style you see is added by the browser. If you check it as example under firefox you see there's no inline css. Every browser renders this field differently since it is used the browser internal function to generate the upload function.

Many thanks!

Read more
Posted on the from Claudio D.
Juergen S.
Juergen S.
User
Author

It seems you're right, but that problem doesn't 5to appear on every page I have seen in MS edge or chrome. So where does it derive from, and - what is even more important - what can I do about it?


8:o|

Read more
Posted on the from Juergen S.
Incomedia
Claudio D.
Incomedia

Hello Juergen,

On every different browser this field appears differently. Unfortunately it cannot be done a lot since it is all done internally from the browser itself. You can try to use custom css code like adding !important to see if this helps.

Many thanks!

Read more
Posted on the from Claudio D.
Juergen S.
Juergen S.
User
Author

Thank you. I'll try that (if you have an idea how to make the software load my project).

8:o/

Read more
Posted on the from Juergen S.
Juergen S.
Juergen S.
User
Author

input#imObjectForm_3_4 {
height: 25px !important;
font-size: 90% !important;
}

works well. Thank you!

8:o)=

Read more
Posted on the from Juergen S.