Jump to content

anarki

Newbie
  • Posts

    7
  • Joined

  • Last visited

anarki's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. я определил, что у меня не работает условие window.height<400 ... пробовал написать document.write(window.height); на экран выводит "undefined"... как ещ? можно определить какое значение высоты у окна браузера(исключая границы и элементы пользовтельского интерфейса)?
  2. Не работает :(:(:(:(:(:( <script language="JavaScript"> if (window.height<400) { window.scroll(0, 155);} </script>
  3. Здравствуйте, помогите написать скрипт. Нужно чтоб если высота окна была меньше чем 400пх, то ползунок опустился на 155пх вниз относительна начала. Зараннее оч большое спасибо.
  4. Здравствуйте, у меня такая проблема, есть код хтмл: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link href = "style.css" type="text/css" rel="stylesheet" /> <title>Index</title> </head> <body> <div class="site"> <div class="header"> <div class="logo"></div> </div> <div class="left_side"> </div> <div class="center"> <div class="content"> Content </div> </div> <div class="right_side"> </div> <div class="clear"></div> </div> </body> </html> и style.css к нему: html, body { margin:0; padding:0; width:100%; height:100%; border-style:solid; border-width:1px; border-color: #000000; } .site { margin: 0px; padding:0px; width: 100%; min-width: 640px; position: relative; min-height: 93%; border-style: solid; border-width: 1px; border-color: #990000; } * html .site { height: 93%; } .left_side { margin-top: 27px; padding: 0px; width: 21%; float: left; border-style: solid; border-width: 1px; border-color: #000099; } .center { margin-top: 27px; padding:0px; width: 57%; height: 60%; float: left; text-align: center; position: relative; border-style: solid; border-width: 1px; border-color: #990000; } .content { padding-top: 8px; padding-bottom: 8px; margin: 0px; width: 100%; height: 80%; position: relative; border-style: solid; border-width: 1px; border-color: #009900; } .right_side { margin-top: 27px; padding:0px; width: 21%; float: left; text-align: center; border-style: solid; border-width: 1px; border-color: #000099; } Во всех браузерах отображаеться нормально, а в Опере средний красный и зел?ный в нем подблок не вытягиваються на 60% и 80% :(:) Как решить эту проблему? Может поменять доктайп на другую спецификацию?)) Или как??? Пожалуйста, помогите, очень нужно, зараннее спасибо!...
×
×
  • 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