How to set td widths with CSS?

Spread the love

Sometimes, we want to set td widths with CSS.

In this article, we’ll look at how to set td widths with CSS.

How to set td widths with CSS?

To set td widths with CSS, we set the width CSS property.

For instance, we write

<td style="width: 200px"></td>

to set the style attribute to width: 200px to make td’s width 200px.

Conclusion

To set td widths with CSS, we set the width CSS property.

Leave a Reply

Your email address will not be published. Required fields are marked *