Question:

How do I evenly space links across the page with HTML?

by  |  earlier

0 LIKES UnLike

I'm using HTML to create a web page, and I have some links that I would like to evenly space across the page. I want to take up the whole line without bumping any down to the next line. How do I do that?

Thank you for your help.

 Tags:

   Report

1 ANSWERS


  1. You could insert a table and enter each of your links into an individual cell. Afterwords you would set your widths to a specific value and your cells will be spaced apart. Example below:

    <table>

    <tr>

    <td width="200">Link 1</td>

    <td width="200">Link 2</td>

    <td width="200">Link 3</td>

    <td width="200">Link 4</td>

    </tr>

    </table>

    Obviously, you would change the information above to fit your specifications. To add more spacing between each link, increase each width. You can also decrease each width to have less spacing between your links.

    Although there are a couple of more ways to achieve what you desire, this was the first simple example which came to mind. Good Luck.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.