1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00

HTML style changes

To test migrating to HTML5
This commit is contained in:
mvoelkel 2016-01-25 16:12:53 +01:00
parent e65fb9aaab
commit 63458efe13
2 changed files with 23 additions and 13 deletions

View File

@ -62,7 +62,7 @@ MenuItems[12].Link = "licenses.html";
function CreateMenu() function CreateMenu()
{ {
document.write('<table class="menutable" align="center">'); document.write('<table class="menutable">');
for(i = 0; i < MenuItems.length; i++ ) for(i = 0; i < MenuItems.length; i++ )
{ {
if( document.URL.indexOf(MenuItems[i].Link) < 0 ) if( document.URL.indexOf(MenuItems[i].Link) < 0 )

View File

@ -10,6 +10,8 @@ body {
background-color:#FFFFFF; background-color:#FFFFFF;
text-align:center; text-align:center;
border:0; border:0;
margin-left: auto;
margin-right: auto;
} }
.maintd { .maintd {
@ -23,6 +25,8 @@ body {
border:5px; border:5px;
width:95%; width:95%;
font-size:120%; font-size:120%;
margin-left: auto;
margin-right: auto;
} }
.menucur { .menucur {
@ -33,6 +37,12 @@ body {
.menutable a:link { text-decoration:none; color:#000000; } .menutable a:link { text-decoration:none; color:#000000; }
.menutable a:visited { text-decoration:none; color:#000000; } .menutable a:visited { text-decoration:none; color:#000000; }
.center-div {
margin-left: auto;
margin-right: auto;
}
.content { .content {
color:#000000; color:#000000;
background-color:#FFFFF0; background-color:#FFFFF0;