Will someone please explain to me how do you set up a basic table with 2 columns and be able to resize them in html.

Recommended Answers

All 2 Replies

Hi there

Please clarify the question; actually, it’s not clear

"be able to resize them in html"

Well you can create flexible table like this

<table width="100%" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <td width="30%">&nbsp;</td>
    <td width="70%">&nbsp;</td>
  </tr>
</table>

best regards,
Rahul

Member Avatar for GreenDay2001

and if you want absolute size, use could directly define the dimension in pixels insted of percentage

<table width="100" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <td width="30">&nbsp;</td>
    <td width="70">&nbsp;</td>
  </tr>
</table>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.