Tech Support Forum banner

Boxes

649 Views 4 Replies 2 Participants Last post by  Acer2000
Hi Everyone!

I am wondering if you know how they create boxes similar to the ones used in this website: www.time.com

Many websites use these today in order to organize and display the information neatly. I just have no idea how they do it. Any help is greatly appreciated.

Cheers,

:1angel:
Status
Not open for further replies.
1 - 5 of 5 Posts
Create a table:

<table>

</table>
Create some columns

<table>
<tr>

</tr>
</table>
Now create a row;

<table>
<tr>
<td>
</td>
</tr>
</table>
Now you can style it to have a gray border, etc.

<table width="100" border="1" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td>
 
</td>
</tr>
</table>
Hope this helps,
Hugo
See less See more
Hello Hugo,

Thank you for your help. This is excellent, however I am unable to resize the width of the box!

I hope you can provide me with a solution.

Thanks

Cheers

Acer

:wave:
See less See more
Sorry for not getting back to you so soon, I haven't been on the computer in a couple of days!

Try this if you want it to be as big as the screen.
width="100%"
Otherwise, if you keep it as "100", it will just use pixel sizing.

Cheers,
Hugo
Hi Hugo,

Thank you for the advice. :wave:
1 - 5 of 5 Posts
Status
Not open for further replies.
Top