Search
 
SCRIPT & CODE EXAMPLE
 

CSS

text align left top

td[rowspan] {
  vertical-align: top;
  text-align: left;
}
Comment

text align left top

<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
    border: 1px solid black;
}
</style>
</head>
<body>

<table style="width:50%;">
    <tr>
      <th>Month</th>
      <th>Savings</th>
    </tr>
    <tr style="height:100px">
      <td valign="top">January</td>
      <td valign="bottom">$100</td>
    </tr>
</table>

<p><b>Note:</b> The valign attribute is not supported in HTML5. Use CSS instead.</p>

</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Css :: center postion absdolute 
Css :: css contenteditable outline 
Css :: html center video 
Css :: css 100% -20px 
Css :: remove underline from a link css 
Css :: rotate image html 
Css :: css text no word wrap 
Css :: grid auto sizing 
Css :: css center position absolute 
Css :: up scale body css 
Css :: poppins cdn 
Css :: textview center text 
Css :: tailwind css cdn 
Css :: css retirer les puces 
Css :: prevent enter key submitting a form jquery 
Css :: css first child 
Css :: center on page css 
Css :: css prevent text blue selection 
Css :: random color scss 
Css :: css list elements horizontally 
Css :: justify text csss 
Css :: make images same size css 
Css :: css width fit to content 
Css :: css trim text 
Css :: css for internet explorer only 
Css :: css text black outline 
Css :: less calc 
Css :: css animation delay 
Css :: box-shadow css 
Css :: ngx-charts change text color 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =