<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003090" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003090</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/images-contained-layers#comment-1013645</link>
    <description> &lt;p&gt;Start off by putting an image within a layer. This will not set it as a background.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;&amp;lt;div id=&quot;layer1&quot;
style=&quot;position:absolute;left:200;top:50;&quot;&amp;gt;&amp;lt;img
src=&quot;&quot;
name=&quot;image1&quot;
width=&quot;&quot; height=&quot;&quot;&amp;gt;&amp;lt;/div&amp;gt;[/code]

You can&#039;t make an image smaller by decreasing the layer size. You will have to change the images width &amp;amp; height properties.

&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;if (document.all)
document[&quot;image1&quot;].width = ?

if (document.layers)
document.layers[&quot;layer1&quot;].document[&quot;image1&quot;].width = ?[/code]

If you need some more DHTML help just post here. &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Tue, 25 Apr 2000 02:15:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013645 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
