Currently tackling a website project and encountering an issue where inserting an href link into a table causes the text to shift forward. Seeking insights on why this is occurring.
<!DOCTYPE html>
<head>
<title>Title</title>
<link href="css/styles.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="site_title1">
<h2><span>Title</span></h2>
</div>
<div id="site_title2">
<h4><span>subtitle</span></h4>
</div>
<div id="menu">
<ul>
<li class="about"><a href="about.html">About</a></li>
<li class="events"><a href="events.html">Events</a></li>
<li class="music"><a href="music.html">Music</a></li>
<li class="contact"><a href="contact.html">Contact</a></li>
</ul>
</div>
</br>
<div id="tablelist">
<p><a href="#Orchestral">Orchestral</a> | <a href="#Chamberensemble">Chamber Ensemble</a> | <a href="#Solo">Solo</a> | <a href="#Choral">Choral</a> | <a href="#Electronic">Electronic</a> </p>
</div>
<a name="Chamberensemble"></a>
<h1>Chamber Ensemble</h1>
<table border="1">
<tbody>
<tr>
<th>Title/Year</th>
<th>Instrumentation</th>
<th>Length</th>
</tr>
<tr>
<td><a href="linkinquestion.html">the link in question</a></td>
<td>Mezzo-soprano, Piano</td>
<td>15 minutes</td>
</tr>
<tr>
<td>this is not a link</td>
<td>Mezzo-soprano, Piano</td>
<td>15 minutes</td>
</tr>
</body>
<footer>
<p>Copyright 2014</p>
<br>
CSS:
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* main font style, background color, and body margins */
...
Also, wondering about the placement of my footer being above my table text. It appears fine in the actual code with more content, but curious nonetheless.
Appreciate your input!
JSFiddle: http://jsfiddle.net/GBuN3/