when css fails edit html too

This commit is contained in:
Gnieark 2015-12-10 20:39:32 +01:00
parent cecec5c70f
commit 99f18fe843
2 changed files with 4 additions and 11 deletions

View File

@ -1,18 +1,12 @@
html {
height: 100%;
}
body{ body{
width:100%; width:100%;
font-size:100%; font-size:100%;
top: 0px;
line-height:140%; line-height:140%;
word-wrap:break-word; word-wrap:break-word;
text-rendering:optimizelegibility; text-rendering:optimizelegibility;
margin:0 auto; margin:0 auto;
font-family : "lucida grande", "gill sans", arial, sans-serif; font-family : "lucida grande", "gill sans", arial, sans-serif;
left:auto; left:auto;
top:auto;
min-height:100%;
} }
header{ header{
background-color:#A60800; background-color:#A60800;
@ -27,7 +21,7 @@ header h1{
width: 45%; width: 45%;
margin-left: 5%;} margin-left: 5%;}
header nav{ header nav{
display: block; display: block;
width: 45%; width: 45%;
color:#FFF; color:#FFF;
@ -82,7 +76,6 @@ footer a {
section{ section{
margin: 0 auto; margin: 0 auto;
width: 90%; width: 90%;
padding-bottom: 40px;
} }
article{ article{
float: right; float: right;
@ -91,7 +84,7 @@ article{
aside{ aside{
float:left; float:left;
width: 28%; width: 28%;
border-right: border-right: 1px dashed green;
} }
form textarea, form input, form select {width:40%;} form textarea, form input, form select {width:40%;}

View File

@ -41,5 +41,5 @@ if(!$postParams){
</select> </select>
</p> </p>
<p><input type="button" value="<?php echo $lang['FIGHT']; ?>" onclick="tictactoe(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p> <p><input type="button" value="<?php echo $lang['FIGHT']; ?>" onclick="tictactoe(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p>
</article> <div id="fightResult"></div>
<article id="fightResult"></article> </article>