Search
 
SCRIPT & CODE EXAMPLE
 

HTML

fix table height html

<div id="mainHolder" style="overflow: auto; max-height: 400px;">
    <table>
    ... Lots of data ...
    </table>
</div>
Comment

give table width 100%

 <table style = "width:100%">
          <tr>
              <th>A</th>
              <th>B</th>
              <th>C</th>
          </tr>
          <tr>
          	<tb>a</tb>
          	<tb>b</tb>
          	<tb>c</tb>
          </tr>
      </table>
  
Comment

how to set table data width in css

<table>
  <tr>
    <th>header 1</th>
    <th>header 234567895678657</th>
  </tr>
  <tr>
    <td>data asdfasdfddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddasdfasdfasdf</td>
    <td>data 2</td>
  </tr>
</table>
Comment

PREVIOUS NEXT
Code Example
Html :: show scrollbar only when scrolling 
Html :: bootstrap date search 
Html :: row span 
Html :: set span text 
Html :: input month in html 
Html :: how to add js to html 
Html :: Link to chat in telegram 
Html :: tailwind resize none 
Html :: change icon title react 
Html :: html image as button submit 
Html :: divider bootsrap 
Html :: html table cell full width 
Html :: how to change font color of h2 tag in html 
Html :: html upload image accept only few types 
Html :: html comment tag 
Html :: external javascript file not working 
Html :: Server side validations Laravel 
Html :: aria-label 
Html :: bootstrap grid 2 rows 
Html :: html auto download file 
Html :: html hyperlink 
Html :: ul attributes in html 
Html :: frames html example 
Html :: bootstrap checkbox 
Html :: td e tr html 
Html :: The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size. 
Html :: storybook fonts 
Html :: make a div clickable 
Html :: tailwind css floating label 
Html :: Meta keyword tag in html 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =