Jump to content
  • 0

Проблема отображения блока в хроме


amstr1k
 Share

Question

Всем привет! Ребят, у меня возникла проблема отображения блока на сайте.

У меня вот такая структура


<div id="header">

<img class="logo" src="/images/logo.png" alt="">

<div class="login">
<form id="login_form" name="login_form" method="POST">
<table cellspacing="0">
<tr>
<td><label for="email">Эл. почта</label></td>
<td><label for="password">Пароль</label></td>
</tr>
<tr>
<td><input autocomplete="off" type="email" name="email" id="email" title="Эл. почта"></td>
<td><input autocomplete="off" type="password" name="password" id="password" title="Пароль"></td>
<td><input class="button" type="submit" value="Войти" /><td>
</tr>
<tr>
<td>Запомнить меня</td>
<td><a>Забыли пароль?</a></td>
</tr>
</table>
</form>
</div>
</div>

и когда первый раз заходишь в хром сайт отображается так

http://awesomescreen....com/0d31cjj3fc

а при любом обновлении страницы блок встаёт на свое место

http://awesomescreen....com/0771cjj639

В мазиле все отображается хорошо.

Помогите плз

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

#header { height: 70px; background-color: #FFF; border-bottom: 1px solid #666; color:#66CCFF;}
.login{float: right;}
.login td {padding: 0 0 0 14px;}
.button{border: none;width: 70px; border-radius: 3px; font-size: 10pt;
background: -webkit-linear-gradient(top, #87F0E3 0%, #2A5DFF 100%); color: #FFF;
border: 1px solid #0A88C4;}
.button:active{background: -webkit-linear-gradient(top, #2A5DFF 0%, #87F0E3 100%);}
.button:hover{box-shadow: 0px 1px 4px #9798ff;}
.auth {background-color: white;}
td input:hover {border: 1px solid #0003d9; outline: none; }
td input:focus {border: 1px solid #0003d9; outline: none; box-shadow: 0px 1px 5px #0013ff;}
.logo {margin-left: 20px; box-shadow: 0px 1px 5px #d4d6da;}
.logo:hover { box-shadow: 0px 1px 5px #8a8dda;}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy