<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hotspots and Resizing Images in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/Hotspots-and-Resizing-Images/m-p/47080#M14723</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a background image that does automatic resizing when the user maximizes their window. My problem is that the hot spots that I create do not stay in the same location when the user resize it them ... I have tried many methods and none worked so far. I tried setting position to relative, fixed, changing the height of width of the background, but nothing ...&lt;BR /&gt;&lt;BR /&gt;I need help. Here is my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;style&amp;gt;
		
		img.bg {
			/* Set rules to fill background */
			min-height: auto;
			min-width: auto;
			
			/* Set up proportionate scaling */
			width: auto;
			height: 100%;
			
			/* Set up positioning */
			position: fixed;
			top: 0;
			left: 13%;
			right: 13%;
				}
				@media screen and (max-width: 1024px){
			img.bg {
				left: 50%;
				margin-left: -512px; }
&amp;lt;/style&amp;gt;
&amp;lt;style&amp;gt;
.hotspotted {
	position: relative;
	}

.hotspot {
	display: block;
	position: fixed;
	visibility: visible;
	background-image: url(sistersbtn_s4.png);
	}

#calendar {
	height: 107px;
	left: 31px;
	top: 646px;
	width: 196px;
}

#sfhome{
	height: 102px;
	right: 941px;
	top: 503px;
	width: 265px;
}

#NEWHOTSPOT{
	height: 102px;
	width: 265px;
	top: inherit;
	left: 40%;
	right: 13%;
	}
&amp;lt;/style&amp;gt;

&amp;lt;/head&amp;gt;

&amp;lt;body bgcolor="#A3BF8F"&amp;gt;
&amp;lt;div class="hotspotted"&amp;gt;
    &amp;lt;img src="1260x875back.fw.jpg" width="100%" height="100%" class="bg" border="0"&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://tiffinfranciscans.org/category/st-francis-calendar/"&gt;http://tiffinfranciscans.org/category/st-francis-calendar/&lt;/A&gt;" name="calendar" class="hotspot" id="calendar"&amp;gt;&amp;lt;/a&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://www.stfrancistiffin.org/"&gt;http://www.stfrancistiffin.org/&lt;/A&gt;" name="sfhome" class="hotspot" id="sfhome"&amp;gt;&amp;lt;/a&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://www.nba.com/"&gt;http://www.nba.com/&lt;/A&gt;" name="NEWHOTSPOT" class="hotspot" id="NEWHOTSPOT"&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;
	&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 03 Nov 2012 09:00:43 GMT</pubDate>
    <dc:creator>abirhasan</dc:creator>
    <dc:date>2012-11-03T09:00:43Z</dc:date>
    <item>
      <title>Hotspots and Resizing Images</title>
      <link>https://business.forums.bt.com/t5/Archive/Hotspots-and-Resizing-Images/m-p/47080#M14723</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a background image that does automatic resizing when the user maximizes their window. My problem is that the hot spots that I create do not stay in the same location when the user resize it them ... I have tried many methods and none worked so far. I tried setting position to relative, fixed, changing the height of width of the background, but nothing ...&lt;BR /&gt;&lt;BR /&gt;I need help. Here is my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;style&amp;gt;
		
		img.bg {
			/* Set rules to fill background */
			min-height: auto;
			min-width: auto;
			
			/* Set up proportionate scaling */
			width: auto;
			height: 100%;
			
			/* Set up positioning */
			position: fixed;
			top: 0;
			left: 13%;
			right: 13%;
				}
				@media screen and (max-width: 1024px){
			img.bg {
				left: 50%;
				margin-left: -512px; }
&amp;lt;/style&amp;gt;
&amp;lt;style&amp;gt;
.hotspotted {
	position: relative;
	}

.hotspot {
	display: block;
	position: fixed;
	visibility: visible;
	background-image: url(sistersbtn_s4.png);
	}

#calendar {
	height: 107px;
	left: 31px;
	top: 646px;
	width: 196px;
}

#sfhome{
	height: 102px;
	right: 941px;
	top: 503px;
	width: 265px;
}

#NEWHOTSPOT{
	height: 102px;
	width: 265px;
	top: inherit;
	left: 40%;
	right: 13%;
	}
&amp;lt;/style&amp;gt;

&amp;lt;/head&amp;gt;

&amp;lt;body bgcolor="#A3BF8F"&amp;gt;
&amp;lt;div class="hotspotted"&amp;gt;
    &amp;lt;img src="1260x875back.fw.jpg" width="100%" height="100%" class="bg" border="0"&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://tiffinfranciscans.org/category/st-francis-calendar/"&gt;http://tiffinfranciscans.org/category/st-francis-calendar/&lt;/A&gt;" name="calendar" class="hotspot" id="calendar"&amp;gt;&amp;lt;/a&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://www.stfrancistiffin.org/"&gt;http://www.stfrancistiffin.org/&lt;/A&gt;" name="sfhome" class="hotspot" id="sfhome"&amp;gt;&amp;lt;/a&amp;gt;
    &amp;lt;a href="&lt;A target="_blank" href="http://www.nba.com/"&gt;http://www.nba.com/&lt;/A&gt;" name="NEWHOTSPOT" class="hotspot" id="NEWHOTSPOT"&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;
	&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 03 Nov 2012 09:00:43 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/Hotspots-and-Resizing-Images/m-p/47080#M14723</guid>
      <dc:creator>abirhasan</dc:creator>
      <dc:date>2012-11-03T09:00:43Z</dc:date>
    </item>
  </channel>
</rss>

