Jump to content
  • 0

DIV уходит вправо в IE


AnTiBAnnik
 Share

Question

В IE DIV Почему-то уходит вправо...

В Опере и Хроме всё норм...

Вобщемто всё даже сложнее... Сижу на 2-х мониторах.

1-15"

2-24"

на 15 дюймах всё норм в окне отображается.

а на 24 дюймовом если во всё окно развернуть то получаеться что див уходит вправо... в IE

если же на всё окно растянуть то всё нормально...

Жесть какая-то на 2 моника руками растянул всё норм.....

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
<link href="/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>dsasdasdasdasdasdasdasdl,jasgfasfgjkas,fbhjkashfjkashfasfasjkfhas jklashjkl fh aslfh aslhfjklashfjk asghjkfasg fkhasgkfghkas gasasjkfgask fgaskask agfjkasgfjk askfgasjk gask askfasjkfasjkg jkasg fjaskgaskgfjkasgjk ag kafgasjk g jkgsjkgfjkasgjkasjkgasjk a jkas gfjkasgfjk gasgfjkasg jkajksfkasjgfjk asgkas gfjkgasjkf asjkg kasjgjk fgjka gasfjkgjk sgfkj gasjkfgasjkgfasjkb</td>
</tr>
</table>
</div>
</body>
</html>

CSS

html, body {font-family:tahoma; font-size:14px; color:#FFFFFF; background:#000000; text-align:left; padding:0px; margin:0px;}
div#center { padding-left:20%; padding-right:20%;}

Edited by AnTiBAnnik
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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