Note that there are some explanatory texts on larger screens.

plurals
  1. POPosition absolute in ie7, alert box move to right align
    primarykey
    data
    text
    <p>I have got a problem on my position absolute property on IE7. My notification box move to right align in IE7 it's work fine in IE8, ie-9 and all other browser but problem in IE7</p> <p>My HTML is </p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div align="center"&gt; &lt;div class="notification-bubble"&gt; &lt;div class="chat-bubble-arrow-border"&gt;&lt;/div&gt; &lt;div class="chat-bubble-arrow"&gt;&lt;/div&gt; This should be on top in all browser &lt;/div&gt; &lt;div class="gray-form-box"&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;div class="seperator-line"&gt;&lt;/div&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;div class="seperator-line"&gt;&lt;/div&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;div class="seperator-line"&gt;&lt;/div&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;div class="seperator-line"&gt;&lt;/div&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;div class="seperator-line"&gt;&lt;/div&gt; &lt;p class="notification-text"&gt;&lt;span class="notification-group"&gt;&lt;/span&gt;&lt;a href="#"&gt;User Name:&lt;/a&gt; “Aliquam erat volutpat. Aliquam eu massa id augue tincidunt accumsan. Cras cursus imperdiet tempus. Integer in libero mi, quis condimentum tellus. Aliquam augue quam, tincidunt at imperdiet” &lt;a href="#" class="notification-time"&gt; 03 June 6:12 pm. &lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>My CSS is </p> <pre><code>body { margin:0px; padding:0px; } .notification-bubble { background-color:#ffffff; border:1px solid #c1c1c1; font-size:35px; height:269px; margin:10px auto; position:absolute; text-align:center; width:280px; margin-top:45px; -moz-box-shadow: 0px 0px 10px #666666; -webkit-box-shadow: 0px 0px 10px #666666; box-shadow: 0px 0px 10px #666666; margin-left:62px; } .chat-bubble-arrow-border { border-color: transparent transparent #c2c2c2 transparent; border-style: solid; border-width: 10px; height:0; width:0; position:absolute; top:-21px; right:30px; } .chat-bubble-arrow { border-color: transparent transparent #ffffff transparent; border-style: solid; border-width: 10px; height:0; width:0; position:absolute; top:-19px; right:30px; } .gray-form-box { width:800px; height:100%; background-color:#f5f5f5; border:1px solid #e5e5e5; float:left; margin-bottom:30px; } .notification-group { width:26px; height:26px; margin:10px; float:left; margin-top:2px; background-color:#FF0000; } .notification-text { font-family:Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; color: #333333; text-align: left; text-decoration:none; float:left; margin-top:10px; line-height:18px; margin-right:10px; } .notification-text a:link { font-weight: bold; color: #3366cc; text-decoration:none; } .notification-text a:visited { font-weight: bold; color: #3366cc; text-decoration:none; } .notification-text a:hover { text-decoration:underline; } .notification-text a:active { text-decoration:underline; } a.notification-time:link { font-weight: normal; color: #808080; text-decoration:none; font-size: 11px; } a.notification-time:hover { text-decoration:underline; } .seperator-line { width:90%; height:1px; background-color:#d1d0d0; display:block; float:left; margin-left:5%; } </code></pre> <p><strong>Your help will be greatly appreciated</strong></p> <p>Check fiddle <a href="http://jsfiddle.net/rizwanabbasi/jGHZK/" rel="nofollow noreferrer">http://jsfiddle.net/rizwanabbasi/jGHZK/</a></p> <p>My screen shot</p> <p><img src="https://i.stack.imgur.com/WYUzg.jpg" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload