<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; HTML/CSS: Запрет горизонтальной прокрутки определённой строки]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10253&amp;type=atom" />
	<updated>2014-12-17T11:02:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10253</id>
		<entry>
			<title type="html"><![CDATA[HTML/CSS: Запрет горизонтальной прокрутки определённой строки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89509#p89509" />
			<content type="html"><![CDATA[<p>Как возможно при горизонтальной прокрутке зафиксировать положение определённых строк внутри тэга pre?<br />В данном случае при горизонтальной прокрутке, &quot;static text&quot; должен всегда оставатся слева. При вертикальной прокрутке двигатся вместе с остальным текстом.<br /></p><div class="codebox"><pre><code>
&lt;html&gt;
&lt;body&gt;
&lt;pre&gt;
&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;
text text text text text text text text text text text text
&lt;span id=&quot;static&quot;&gt; static text &lt;/span&gt;
text text text text text text text text text text text text
&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;&lt;li&gt;
text text text text text text text text text text text text
&lt;span id=&quot;static&quot;&gt; static text &lt;/span&gt;
text text text text text text text text text text text text
&lt;/pre&gt;
&lt;/body&gt;

&lt;style&gt;    
pre {
overflow: scroll; 
width: 222px;
height: 222px;
} 
#static  {  
color: red;  
border: 3px solid green;
}    
&lt;/style&gt;
&lt;/html&gt;
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-12-17T11:02:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89509#p89509</id>
		</entry>
</feed>
