How Do I Put Frames Around A Links Section?

Discussion in 'HTML & Website Design' started by EchoedTruth, Jan 28, 2013.

  1. #1
    I read a post by deathshadow on the forums here that using the table element to put frames/borders around links is wrong - or not proper. My links on my website under construction are coded like this:
     <nav style="background-color: red">
                <table>
       
       
          <ul>
          <tr>
          <td><li><a href="BTSMain.html"><b>Home</b> </a></li></td>
          </tr>
          <tr>
          <td> <li><a href="BTSServices.html"><b>Services We Offer</b></a></li>
          </td>
          </tr>
          <tr>
          <td>
          <li><a href="BTSAboutUs.html"><b>About Our Company</b></a></li>
          </td>
          </tr>
          <tr>
          <td>
          <li><a href="BTSTestPage.html"><b>Testing Page</b></a></li>
          </td>
          </tr>
          <tr><td><li><a href="BTSTestPage2.html"><b>Testing Page 2</b></a></li></td></tr>
       
          </ul>
          </table>
            </nav>
    HTML:
    Is there a better way to put up frames around the links? Also - if I add a border to this nav section, it moves it far down the page, below my main article / body section - would anyone know why this happens?
     
    EchoedTruth, Jan 28, 2013 IP
  2. Swift Tony

    Swift Tony Greenhorn

    Messages:
    69
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #2
    If you are using Wordpress there are various easy-to-use plugins to insert frames within the pages of your site.
     
    Swift Tony, Jan 28, 2013 IP
  3. EchoedTruth

    EchoedTruth Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    I am using Notepad++
     
    EchoedTruth, Jan 28, 2013 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    Have you tried a fieldset?
     
    Rukbat, Jan 28, 2013 IP
  5. EchoedTruth

    EchoedTruth Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    Not sure what that is, could you elaborate, Rukbat?
     
    EchoedTruth, Jan 28, 2013 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    <fieldset><a href="BTSMain.html"><b>Home</b> </a></fieldset>

    Then use CSS to style the fieldset - thickness, color, etc.
     
    Rukbat, Jan 29, 2013 IP
  7. EchoedTruth

    EchoedTruth Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #7
    Thanks :D !
     
    EchoedTruth, Jan 30, 2013 IP