Commit c76fe324 authored by Oscar Vagle's avatar Oscar Vagle
Browse files

experimented with diffrent buttons and tried to have a hyperlink with the...

experimented with diffrent buttons and tried to have a hyperlink with the button tag. Did manage to get it work on the htmltrain page
parent 4c9c01e3
......@@ -9,13 +9,10 @@
<body>
<h1 class="titel">Titel</h1>
<div align="center">
<table class="table">
<tr> <td> STATUS </td>
<td> <a href="omOs.html"> OM OS</a>
</td>
<td> <a href="htmltrain.html"> FORSIDE </a> </td>
</tr>
</table>
<form>
<button formaction="file:///C:/Users/oscar2311/itwot-it1-01-2020/htmltrain.html" class="forsideKnap"> FORSIDE </button>
<button formaction="file:///C:/Users/oscar2311/itwot-it1-01-2020/omOs.html" class="omOsKnap"> OM OS </button>
</form>
</div>
<p class="appetitvekker">
......
......@@ -13,7 +13,9 @@
<div align="center">
<table class="table">
<tr> <td> STATUS </td>
<td> <a href="omOs.html"> OM OS </a> </td>
<td> <form>
<input type="button" onclick="location.href='file:///C:/Users/oscar2311/itwot-it1-01-2020/omOs.html';" value="OM OS">
</form>
<td> <a href="htmltrain.html"> FORSIDE </a> </td>
</tr>
</table>
......
......@@ -12,7 +12,7 @@ body {
text-align: center;
}
.table {
/*.table {
border: 1px solid black;
border-collapse: collapse;
width: calc(90% - 50px);
......@@ -21,6 +21,14 @@ body {
.table td {
border: 1px solid black;
text-align: center;
}*/
.forsideKnap {
float:left;
}
.omOsKnap {
float: left;
}
p.appetitvekker {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment