input padding cutting out text in firefox
The Bootstrap form-control class gets a fixed height by default. Just add a height: auto;
to your .join-form
selector(to keep flexibility), and change the padding to get the original effect, like this padding: 14px 20px;
See here: http://jsfiddle.net/x78Bh/
Why is Firefox cutting off the text in my input type=text/?
Try increasing your line height property. That would be restricting the viewable area for the letters causing them to be cut off. Firefox's rendering engine renders line height slightly different.
Why does Safari & Firefox cut off bottom of input text?
You can reduce the bottom padding and/or the font size and that will fix your overflow issue.
input[type='text'][name='Worksheet-Name']{
font-size: 35px;//instead of 36
margin-top: 20px;
margin-left: 15px;
}
or
.input-lg {
height: 46px;
padding: 10px 16px 0;//change here to have 0
font-size: 18px;
line-height: 1.33333;
border-radius: 6px;
}
also possibly answered here with line-height:
Why is Firefox cutting off the text in my <input type="text"/>?
Input text bug on Firefox but not Safari or Chrome
You can solve it, work around, by doing the following in form-control
class:
.form-control {
line-height: 1;
height: auto;
-moz-box-sizing: border-box;
}
Checkout the DEMO
Padding inside input shows 2 result in Firefox and other browsers
Please check if it works for you
input {
padding: 10px;
font-size: 14px;
font-weight: normal;
width: 100%;
line-height: 18px;
height: auto;
}
Input text shows in Chrome but not Firefox
The padding is taking up the entire element. You can keep the padding-left, just remove top padding and set height to 50px (25px padding x 2) http://jsfiddle.net/vxkp6beg/7/:
.navbar-collapse form[role="search"] input {
padding: 0 12px;
height: 50px;
font-size: 18pt;
opacity: 0;
display: none;
}
Button text pushes away the padding in Firefox
You should use the <button>
element, this gives you more control over what happens with its contents:
<button class="wrong">
<span>this pushes text to the left, ignoring padding</span>
</button>
And the styles then are:
.wrong {
width: 100px;
overflow: hidden;
}
.wrong span {
margin-left:30px;
text-align: left;
white-space: nowrap;
}
Example that should work in all browsers: http://jsfiddle.net/p8mg8/1/
Related Topics
Z-Index Behaviour on Pseudo Elements
Css: Set Color for Selected Row in a Table
Getting the Right Font-Size on Every Mobile Device
Make Div as Wide as It Needs to Be
Customize Bootstrap 5 Text Color Contrast in Button
How to Put Custom Content Like a Linebreak Inside P:Column Header
How to Create Circle with Four Quarters
Is Position: Fixed Z-Index Relative to Its Parent's Z-Index
Bootstrap 3 CSS Image Caption Overlay
Is Opacity Is Inherited in a Div
Using an Data Uri Svg as a CSS Background Image
Last-Child and Last-Of-Type Not Working in SASS
Css: How to Center a Horizontal List? Display:Inline Not Working
CSS - Apply Opacity to Element But Not to Text Within the Element
Jquery Mobile Textarea: How Does It Use 'Rows' Attribute