<?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 How to fixed top div in css? in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/How-to-fixed-top-div-in-css/m-p/62406#M15085</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I did try to fix my top div but when i set position:fixed for top div then the div goes in left. please help me to fixed it.&lt;BR /&gt;i am using like that;&lt;BR /&gt;&amp;lt;div id="top"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div id="content"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;CSS code&lt;BR /&gt;#top&lt;BR /&gt;{&lt;BR /&gt;position:fixed;&lt;BR /&gt;z-index:100;&lt;BR /&gt;}&lt;BR /&gt;Please help me to solve out this proble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/1.gif" border="0" /&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Aug 2013 09:43:24 GMT</pubDate>
    <dc:creator>abirhasan</dc:creator>
    <dc:date>2013-08-02T09:43:24Z</dc:date>
    <item>
      <title>How to fixed top div in css?</title>
      <link>https://business.forums.bt.com/t5/Archive/How-to-fixed-top-div-in-css/m-p/62406#M15085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I did try to fix my top div but when i set position:fixed for top div then the div goes in left. please help me to fixed it.&lt;BR /&gt;i am using like that;&lt;BR /&gt;&amp;lt;div id="top"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div id="content"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;CSS code&lt;BR /&gt;#top&lt;BR /&gt;{&lt;BR /&gt;position:fixed;&lt;BR /&gt;z-index:100;&lt;BR /&gt;}&lt;BR /&gt;Please help me to solve out this proble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/1.gif" border="0" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Aug 2013 09:43:24 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/How-to-fixed-top-div-in-css/m-p/62406#M15085</guid>
      <dc:creator>abirhasan</dc:creator>
      <dc:date>2013-08-02T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to fixed top div in css?</title>
      <link>https://business.forums.bt.com/t5/Archive/How-to-fixed-top-div-in-css/m-p/62734#M15086</link>
      <description>&lt;P&gt;Here is a the code for a basic three colum website template. It will save you a lot of work and answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;BR /&gt;"&lt;A href="https://business.forums.bt.com/" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;html xmlns="&lt;A href="http://www.w3.org/1999/xhtml&amp;quot;" target="_blank"&gt;http://www.w3.org/1999/xhtml"&lt;/A&gt; lang="en" xml:lang="en"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Lovelogic Website support&amp;nbsp; - Basic Template&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;style type="text/css"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;body{&lt;BR /&gt;margin:0;&lt;BR /&gt;padding:0;&lt;BR /&gt;line-height: 1.5em;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;b{font-size: 110%;}&lt;BR /&gt;em{color: red;}&lt;BR /&gt;&lt;BR /&gt;#maincontainer{&lt;BR /&gt;width: 840px; /*Width of main container*/&lt;BR /&gt;margin: 0 auto; /*Center container on page*/&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#topsection{&lt;BR /&gt;background: #EAEAEA;&lt;BR /&gt;height: 90px; /*Height of top section*/&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#topsection h1{&lt;BR /&gt;margin: 0;&lt;BR /&gt;padding-top: 15px;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#contentwrapper{&lt;BR /&gt;float: left;&lt;BR /&gt;width: 100%;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#contentcolumn{&lt;BR /&gt;margin: 0 190px 0 180px; /*Margins for content column. Should be "0 RightColumnWidth 0 LeftColumnWidth*/&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#leftcolumn{&lt;BR /&gt;float: left;&lt;BR /&gt;width: 180px; /*Width of left column in pixel*/&lt;BR /&gt;margin-left: -840px; /*Set margin to that of -(MainContainerWidth)*/&lt;BR /&gt;background: #C8FC98;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#rightcolumn{&lt;BR /&gt;float: left;&lt;BR /&gt;width: 190px; /*Width of right column*/&lt;BR /&gt;margin-left: -190px; /*Set left margin to -(RightColumnWidth)*/&lt;BR /&gt;background: #FDE95E;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#footer{&lt;BR /&gt;clear: left;&lt;BR /&gt;width: 100%;&lt;BR /&gt;background: black;&lt;BR /&gt;color: #FFF;&lt;BR /&gt;text-align: center;&lt;BR /&gt;padding: 4px 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#footer a{&lt;BR /&gt;color: #FFFF80;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;.innertube{&lt;BR /&gt;margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/&lt;BR /&gt;margin-top: 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;/*** Temporary text filler function. Remove when deploying template. ***/&lt;BR /&gt;var gibberish=["This is just some filler text", "Welcome to Dynamic Drive CSS Library", "Demo content nothing to read here"]&lt;BR /&gt;function filltext(words){&lt;BR /&gt;for (var i=0; i&amp;lt;words; i++)&lt;BR /&gt;document.write(gibberish[Math.floor(Math.random()*3)]+" ")&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;div id="maincontainer"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div id="topsection"&amp;gt;&amp;lt;div class="innertube"&amp;gt;&amp;lt;h1&amp;gt;CSS Fixed Layout #3.1- (Fixed-Fixed-Fixed)&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div id="contentwrapper"&amp;gt;&lt;BR /&gt;&amp;lt;div id="contentcolumn"&amp;gt;&lt;BR /&gt;&amp;lt;div class="innertube"&amp;gt;&amp;lt;b&amp;gt;Content Column: &amp;lt;em&amp;gt;Fixed&amp;lt;/em&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;script type="text/javascript"&amp;gt;filltext(10)&amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div id="leftcolumn"&amp;gt;&lt;BR /&gt;&amp;lt;div class="innertube"&amp;gt;&amp;lt;b&amp;gt;Left Column: &amp;lt;em&amp;gt;180px&amp;lt;/em&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;script type="text/javascript"&amp;gt;filltext(20)&amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div id="rightcolumn"&amp;gt;&lt;BR /&gt;&amp;lt;div class="innertube"&amp;gt;&amp;lt;b&amp;gt;Right Column: &amp;lt;em&amp;gt;190px&amp;lt;/em&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;script type="text/javascript"&amp;gt;filltext(15)&amp;lt;/script&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;div id="footer"&amp;gt;&amp;lt;a href="&lt;A href="https://business.forums.bt.com/" target="_blank"&gt;http://lovelogic.net"&amp;gt;Lovelogic&lt;/A&gt; Website Support&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 23:06:08 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/How-to-fixed-top-div-in-css/m-p/62734#M15086</guid>
      <dc:creator>Sogo7</dc:creator>
      <dc:date>2013-08-06T23:06:08Z</dc:date>
    </item>
  </channel>
</rss>

