<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=477839</guid>
        <pubDate>Thu, 07 Oct 2004 16:49:47 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=477839</link>
        <description><![CDATA[fatalist: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>Mixxx,6.10.04, 20:39</span><div class='quote '>Неправда ваша.<br>
В IE <strong class='tag-b'>5</strong>.0 и выше работает&#33; (IE5+)</div></div><br>
На самом деле я имел в виду, что свойство &quot;offsetTop&quot; в четвертом есть...<br>
А остальное я не уверен...]]></description>
        <author>fatalist</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476927</guid>
        <pubDate>Wed, 06 Oct 2004 20:21:14 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476927</link>
        <description><![CDATA[Mixxx: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>_XAV, 7.10.04, 01:36</span><div class='quote '>А что такое ridge white- первые раз вижу, он за рамку отвечает что ли?</div></div><br>
Да.<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>_XAV, 7.10.04, 01:36</span><div class='quote '>А у .div1 a абсолютное позиционирование теперь от div1?</div></div><br>
Да, тег &lt;a&gt; обсолютно позиционирован  относительно &lt;div&gt;]]></description>
        <author>Mixxx</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476896</guid>
        <pubDate>Wed, 06 Oct 2004 19:36:18 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476896</link>
        <description><![CDATA[_XAV: Ну спасибо, вы меня просто спасли.<br>А у .div1 a абсолютное позиционирование теперь от div1?<br>А что такое ridge white- первые раз вижу, он за рамку отвечает что ли?]]></description>
        <author>_XAV</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476818</guid>
        <pubDate>Wed, 06 Oct 2004 17:39:22 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476818</link>
        <description><![CDATA[Mixxx: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>А в MSIE 4.0 и выше работает...</div></div><br>
Неправда ваша.<br>
В IE <strong class='tag-b'>5</strong>.0 и выше работает&#33; (IE5+)]]></description>
        <author>Mixxx</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476765</guid>
        <pubDate>Wed, 06 Oct 2004 16:21:49 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476765</link>
        <description><![CDATA[fatalist: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>_XAV,6.10.04, 11:12</span><div class='quote '>ну наверное немного не так:</div></div><br>
Да конечно, я постоянно &quot;style&quot; забываю...<br>
<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Единственное, в  NN4.7 работать не хочет.<br>
А document.getElementById(&#39;Tab1&#39;).offsetTop во всех MSIE работать будет?</div></div><br>
<br>
В NN4.7 вообще мало чего работает...<br>
А в MSIE 4.0 и выше работает...]]></description>
        <author>fatalist</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476716</guid>
        <pubDate>Wed, 06 Oct 2004 15:07:24 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476716</link>
        <description><![CDATA[Mixxx: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>_XAV, 6.10.04, 19:36</span><div class='quote '>А можно как-нить без JS?</div></div>Да:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;</div><div class="code_line">&#60;?xml version=&quot;1.0&quot; encoding=&quot;windows-1251&quot;?&#62;</div><div class="code_line">&#60;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&#62;</div><div class="code_line">&#60;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;ru&quot; lang=&quot;ru&quot;&#62;</div><div class="code_line">&#60;head&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=windows-1251&quot; /&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;title&#62;XHTML page&#60;/title&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;style type=&quot;text/css&quot;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;!--/*--&#62;&#60;![CDATA[/*&#62;&#60;!--*/</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.div1{width:150px; height:20px;position:relative;border:2px ridge white}</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.div1 img{width:150px;height:20px;margin:0px;padding:0px}</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.div1 a{position:absolute;top:0px;left:55px;display:block}</div><div class="code_line">&nbsp;&nbsp; &nbsp;/*--&#62;&#60;!*/]]&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;/style&#62;</div><div class="code_line">&#60;/head&#62;</div><div class="code_line">&#60;body&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">&#60;div class=&quot;div1&quot;&#62;&#60;img src=&quot;font.gif&quot; /&#62;&#60;a href=&#39;#&#39;&#62;text&#60;/a&#62;&#60;/div&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">&#60;/body&#62;</div><div class="code_line">&#60;/html&#62;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>Mixxx</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476648</guid>
        <pubDate>Wed, 06 Oct 2004 13:36:31 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476648</link>
        <description><![CDATA[_XAV: А можно как-нить без JS?]]></description>
        <author>_XAV</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476320</guid>
        <pubDate>Wed, 06 Oct 2004 08:12:37 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=476320</link>
        <description><![CDATA[_XAV: ну наверное немного не так:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&#60;html&#62;</div><div class="code_line">&#60;head&#62;</div><div class="code_line">&#60;style&#62; &#60;!-- </div><div class="code_line">.div1 {Z-INDEX: 11; LEFT: 0px; VISIBILITY: visible;POSITION: absolute; WIDTH: 150; &nbsp;TOP: 0px;height=20} .div2 {Z-INDEX: 22; LEFT: 0px; VISIBILITY: </div><div class="code_line">visible;WIDTH: 150; POSITION: relative; TOP: -20px;height=20}</div><div class="code_line">--&#62;&#60;/style&#62;</div><div class="code_line">&#60;script&#62;&#60;!--</div><div class="code_line">function move(){</div><div class="code_line">div1.style.top=document.getElementById(&#39;Tab1&#39;).offsetTop+2;alert(div1.style.top);</div><div class="code_line">}</div><div class="code_line">--&#62;</div><div class="code_line">&#60;/script&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;/head&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;body onload=&quot;move();&quot;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;br&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;br&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;br&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;150&quot; height=&quot;20&quot; ID=&quot;Tab1&quot;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;tr&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td width=&quot;150&quot; height=&quot;20&quot; valign=&quot;middle&quot; align=&quot;center&quot;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;img src=&quot;pics/rb.gif&quot; width=&quot;150&quot; height=&quot;20&quot;&#62;&#60;br&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;div id=&quot;div1&quot; class=&quot;div1&quot;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;a href=&#39;#&#39;&#62;text&#60;/a&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/div&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/td&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/tr&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;/table&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;/body&#62;</div><div class="code_line">&#60;/html&#62;</div></ol></div></div></div></div><br>
Единственное, в  NN4.7 работать не хочет.<br>
А document.getElementById(&#39;Tab1&#39;).offsetTop во всех MSIE работать будет?]]></description>
        <author>_XAV</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=475909</guid>
        <pubDate>Tue, 05 Oct 2004 16:57:24 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=475909</link>
        <description><![CDATA[fatalist: По моему придется использовать &quot;position:absolute;&quot; и расчитывать координаты дивов относительно левого верхнего угла самого окна(документа)...<br>
<br>
Я думаю примерно так:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;</div><div class="code_line">var table = document.getElementById(&#39;Table1&#39;);</div><div class="code_line">&nbsp;</div><div class="code_line">div1.top = table.offsetTop;</div><div class="code_line">div1.left = table.offsetLeft;</div></ol></div></div></div></div>]]></description>
        <author>fatalist</author>
        <category>HTML, CSS</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=475872</guid>
        <pubDate>Tue, 05 Oct 2004 15:56:46 +0000</pubDate>
        <title>div,relative,height</title>
        <link>https://forum.sources.ru/index.php?showtopic=68245&amp;view=findpost&amp;p=475872</link>
        <description><![CDATA[_XAV: Здрасте.<br>
Идея такая: Есть таблица 150*20,картинка и текс поверх. При наведении и картинка и текст должны меняться, т.е они должны быть в разных div (размер тот же) позиционированных относительно, но если div 2 штуки таблица вокруг растягивается в высоту.<br>
<br>
Вот такой css:<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;</div><div class="code_line">.div1 {Z-INDEX: 11; LEFT: 0px; VISIBILITY: visible; WIDTH: 150; POSITION: relative; TOP: 0px;height=20}</div><div class="code_line">.div2 {Z-INDEX: 22; LEFT: 0px; VISIBILITY: visible;WIDTH: 150; POSITION: relative; TOP: -20px;height=20}</div></ol></div></div></div></div><br>
<br>
И код:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;</div><div class="code_line">&#60;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;150&quot; height=&quot;20&quot; ID=&quot;Table1&quot;&#62;</div><div class="code_line">&#60;tr&#62;</div><div class="code_line">&#60;td width=150 height=20 &nbsp;valign=middle align=center&#62;</div><div class="code_line">&#60;div class=&quot;div1&quot;&#62;&#60;img src=&quot;1.gif&quot; width=150 height=20&#62;</div><div class="code_line">&#60;/div&#62;</div><div class="code_line">&#60;div class=&quot;div2&quot;&#62;&#60;a href=&#39;#&#39;&#62;text&#60;/a&#62;</div><div class="code_line">&#60;/div&#62;</div><div class="code_line">&#60;/td&#62;</div><div class="code_line">&#60;/tr&#62;</div><div class="code_line">&#60;/table&#62;</div></ol></div></div></div></div><br>
<br>
Кто-нить знает , как сделать так, чтобы Table1 не растягивалась вниз на величину div2?<br>
плз...]]></description>
        <author>_XAV</author>
        <category>HTML, CSS</category>
      </item>
	
      </channel>
      </rss>
	