the code below is attempting to create navigation links down the left hand side. I've seen code that used span tags and span {display:block;} to force a link break between links. I've just used <br /> and put the links in a container div. I'd appreciate any feedback on where the code fails or succeeds?
<style type="text/css">
#sidebarnavigation {
position: absolute;
left: 2px;
top: 30px;
text-align: left;
padding-left: 2px;
#sidebarnavigation a {
color:#66C;
text-decoration:none;
}
</style>
<div id="sidebarnavigation">
<a href="/test1.asp"><br />
<a href="/test2.asp"><br />
<a href="/test3.asp"><br />
<a href="/test4.asp">
</div>
<style type="text/css">
#sidebarnavigation {
position: absolute;
left: 2px;
top: 30px;
text-align: left;
padding-left: 2px;
#sidebarnavigation a {
color:#66C;
text-decoration:none;
}
</style>
<div id="sidebarnavigation">
<a href="/test1.asp"><br />
<a href="/test2.asp"><br />
<a href="/test3.asp"><br />
<a href="/test4.asp">
</div>