When you hover over an input field in the table, the entire cell turns grey except for a few pixels at the top. Why is that? I've tried setting everything I can think of (margin, padding, box-shadow, etc) to 0 or none, but to no avail.
CSS background property applied to HTML Input element within Table cell
222 Views Asked by ericgrosse At
2
There are 2 best solutions below
Related Questions in HTML
- Delay in loading Html Page(WebView) from assets folder in real android device
- Why does a function show up as not defined
- CSS Class is not applying to element (border width,color,and style attributes)
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- Automatically closing tags in form input?
- Positioning child at bottom of parent with scroll
- Remove added set of rows
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
- http://sigmajs.org/ les mis tutorial - why are my canvases 0 height?
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- Svg containers not positioning properly
Related Questions in CSS
- CSS Class is not applying to element (border width,color,and style attributes)
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
- Positioning child at bottom of parent with scroll
- Play multiple audio files in a slider
- How to set text over image?
- Website zoomed out on Android default browser
- Writing/Overwriting to specific XML file from ASP.NET code behind
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- CSS: Preventing a property to affect on element until the end of transition
- Polygon Button with pure CSS
- transform-origin doesnt apply in safari
- show/hide multiple div tags at once and change the size of the remaining div tag
- Mask the image/maps/div (circle) using css and jquery
Related Questions in BACKGROUND
- X3DOM Inline Background skyColor
- CSS background property applied to HTML Input element within Table cell
- Changing background of button every second
- jQuery background animation - better performance
- Starting a ScheduledExecutorService from a servlet with a set of parameters
- Change button background with an action
- How to control multithreaded background jobs in for loop in shell script
- background is not working properly
- Fixed background adjusted to the monitor size
- How to print an ArrayList in processing and how to update the background
- Background image animation not working in Firefox
- How can i add an image as background in Chartjs?
- backgrounds Slideshow, but text scrolling
- Java replacing the background of an image
- Is there a way to override default CSS of HTML5 form validation messages
Related Questions in HTML-TABLE
- Prevent tables from relocating
- Add a small space between tables
- CSS background property applied to HTML Input element within Table cell
- Python Beautiful Soup Table Data Scraping Specific TD Tags
- How can I make my cells align text to the left?
- Fixed column in table
- MVC View change specified row bgcolor
- How can I capture the value of a variable in a for loop using an event handler?
- How to maintain two tables side by side horizontally?
- Appending rows into table from dictionary
- thead style not applied
- Make divs inside table cells the same height without javascript
- Extract a Cell/Td/tabledata value from a given row of a table using javascript/jquery
- Echo html table with specific field
- Table click function called twice
Related Questions in HTML-INPUT
- CSS background property applied to HTML Input element within Table cell
- set option value as array
- Overflow visible on text input, is it possible?
- JSON data not pulling through for textarea input control
- Issues clearing HTML input with angular ng-click
- How to invoke date picker from date input in javascript?
- Set default value for arrows in input[number]
- Input type="time" more than 24 hours
- Remove focus from canvas
- Javascript process freezes HTML input elements
- Disable only .(DOT) special charecter in input field
- HTMLInputElement's .value can't be watched with Mutation Observers
- $_POST on the same document as the form
- Function setSelectionRange is not working in Android browser
- HTMLUnit HtmlTextInput and submitbutton
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You've not defined a height on the Input field, therefore it's smaller than the containing td
http://jsfiddle.net/oe2ofup6/2/