Text input with 100% width inside a td expands/continues outside the td

前端 未结 5 1609
Happy的楠姐
Happy的楠姐 2020-12-23 20:22

Here is the live demo

I\'m trying to put a padded text input inside a td, and I want it to occupy 100% of the width, but it goes outside of the td. I don\'t underst

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 20:56

    I have found

    
    

    works funny, try

     
    

    it seems to work wonders Though to be truthful was using size= a number as opposed to width=100% for some unknown reason the text was outside the table!

提交回复
热议问题