<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1043491" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1043491</link>
    <description></description>
    <language>en</language>
          <item>
    <title>If you&#039;re worried about</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240113</link>
    <description> &lt;p&gt;If you&#039;re worried about creating scrollbars for the div with overflow: auto then try using overflow: hidden&lt;/p&gt;
 </description>
     <pubDate>Mon, 06 Apr 2009 03:17:06 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1240113 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>overflow: auto does seem to</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240104</link>
    <description> &lt;p&gt;overflow: auto does seem to resolve the issue.&lt;br /&gt;
I tried to avoid using that as I have had issues with it before in DIV&#039;s, where it would create additional horizontal and vertical scroll bars.&lt;/p&gt;
&lt;p&gt;Thanks for the tips. I have a few workarounds now at least.&lt;/p&gt;
&lt;p&gt;It&#039;s quite a weird issue.&lt;/p&gt;
 </description>
     <pubDate>Sun, 05 Apr 2009 19:46:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1240104 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>@webwiz - adding overflow:</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240096</link>
    <description> &lt;p&gt;@webwiz - adding overflow: auto OR overflow: hidden to div#footer_right fixes it...&lt;/p&gt;
&lt;p&gt;another possible workaround is to remove the italics style from div#footer_right and place the text in a span container with the italics style&lt;/p&gt;
&lt;p&gt;see attached&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;greg&lt;/em&gt; wrote:&lt;/div&gt;a huge right scroll bar&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I misunderstood initially, interpreting your description as a vertical scrollbar on the right side (as in scrollable div or frame)&lt;/p&gt;
&lt;p&gt;I am accustomed to hearing the bottom scrollbar named &quot;horizontal scroll bar&quot;  since it scrolls horizontally right AND left.&lt;/p&gt;
 </description>
     <pubDate>Sun, 05 Apr 2009 02:58:00 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1240096 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Ok.
I&#039;ve ripped out all the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240095</link>
    <description> &lt;p&gt;Ok.&lt;/p&gt;
&lt;p&gt;I&#039;ve ripped out all the code where the issue is. Made a complete test page of it as below, so you can make file called whatever.html, copy paste and see the issue.&lt;/p&gt;
&lt;p&gt;I tested the code below in Firefox and IE7 and the problem is still there in IE.&lt;br /&gt;
IE gives a horizontal scroll bar for quite a distance but there is nothing there.&lt;/p&gt;
&lt;p&gt;Remove the italic from the &lt;code&gt;footer_right&lt;/code&gt; DIV and it will be fixed!&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en&amp;quot; lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;&lt;br /&gt; 	&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;style type=&amp;quot;text/CSS&amp;quot;&amp;gt;&lt;br /&gt;body {&lt;br /&gt;margin: 0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;a:link, a:visited{&lt;br /&gt;color: #b70f0e;&lt;br /&gt;text-decoration: none;&lt;br /&gt;font-weight: bold;&lt;br /&gt;}&lt;br /&gt;a:hover{&lt;br /&gt;text-decoration: underline; &lt;br /&gt;}&lt;br /&gt;#footer{&lt;br /&gt;margin: 40px 0px 0px 0px;&lt;br /&gt;padding: 0px 0px 20px 0px;&lt;br /&gt;background-color: #333;&lt;br /&gt;border-top: 1px solid #666;&lt;br /&gt;}&lt;br /&gt;#footer_content{&lt;br /&gt;margin: 40px auto 0px auto;&lt;br /&gt;width: 980px;&lt;br /&gt;}&lt;br /&gt;#footer_left{&lt;br /&gt;margin: 0px 0px 0px 35px;&lt;br /&gt;color: #999;&lt;br /&gt;font-size: 12px;&lt;br /&gt;font-style: italic;&lt;br /&gt;}&lt;br /&gt;#footer_right{&lt;br /&gt;float: right;&lt;br /&gt;color: #999;&lt;br /&gt;font-size: 12px;&lt;br /&gt;font-style: italic;&lt;br /&gt;margin: 10px 30px 0px 0px;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;lt;div id=&amp;quot;footer_content&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id=&amp;quot;footer_left&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Website Design by&amp;nbsp; &amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Rhubarb&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;div id=&amp;quot;footer_right&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Some text that is the same length as the text that breaks the issue &lt;br /&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&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;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 04 Apr 2009 18:31:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1240095 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Not really, its a client</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240074</link>
    <description> &lt;p&gt;Not really, its a client site passworded atm.&lt;/p&gt;
&lt;p&gt;I can recreate it on a testing site .. hang on...&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Apr 2009 21:22:37 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1240074 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Greg describes a known bug</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240071</link>
    <description> &lt;p&gt;Greg describes a known bug in IE 7. It only materializes under certain circumstances though. My suggestion worked for me when I came across it. YMMV.&lt;/p&gt;
&lt;p&gt;Greg - can you give us a link to the problem page?&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Apr 2009 19:00:24 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1240071 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I tried your code and I do</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240060</link>
    <description> &lt;p&gt;I tried your code and I do not see a scrollbar so maybe it is some other element/container involved. I suspect that is the case, as italicized text can be slightly larger than normal...&lt;/p&gt;
&lt;p&gt;I would try overflow:hidden if there is no overflow but you are getting a scrollbar&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Apr 2009 16:05:49 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1240060 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Try adding overflow: auto;</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240043</link>
    <description> &lt;p&gt;Try adding overflow: auto; to the container.&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Apr 2009 00:05:28 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1240043 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The DIV has NO width. It&#039;s</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240040</link>
    <description> &lt;p&gt;The DIV has NO width. It&#039;s an issue with IE, I just wondered if anyone has a solution to it as I don&#039;t want to add a width to the div, or remove the italic or remove the float.&lt;/p&gt;
&lt;p&gt;So I basically have:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#div_a{&lt;br /&gt;margin: 10px 0px 0px 0px;&lt;br /&gt;background-color: #333;&lt;br /&gt;border-top: 1px solid #666;&lt;br /&gt;}&lt;br /&gt;#div_b{&lt;br /&gt;float: right;&lt;br /&gt;color: #999;&lt;br /&gt;font-size: 12px;&lt;br /&gt;font-style: italic;&lt;br /&gt;margin: 10px 30px 0px 0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;div_a&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;div id=&amp;quot;div_b&amp;quot;&amp;gt;rhubarb&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;In presence of italic text in a shrink-wrapping container, sometimes IE7 displays an unnecessary horizontal scrollbar. The same problem occurs with:&lt;/p&gt;
&lt;p&gt;    * text-align:right&lt;br /&gt;
    * italics in a right widthless float&lt;br /&gt;
    * italics in a widthless absolutely positioned box with right:0
&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Thu, 02 Apr 2009 22:45:14 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1240040 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I would personally say its</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/ie7-italics-float-right-widthless-div#comment-1240037</link>
    <description> &lt;p&gt;I would personally say its the width that&#039;s the issue.&lt;/p&gt;
&lt;p&gt;Can you post the code and its surrounding code so we can take a closer look?&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Apr 2009 21:30:15 +0000</pubDate>
 <dc:creator>mayo23</dc:creator>
 <guid isPermaLink="false">comment 1240037 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
