Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I altered the <strong>css and html source</strong>. I only have IE6 to work with, but it looks consistent in Chrome and IE6. Try this:</p> <p><a href="http://work.arounds.org/sandbox/38/run" rel="nofollow">http://work.arounds.org/sandbox/38/run</a></p> <pre><code>&lt;!doctype html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;style type="text/css" media="screen"&gt; * { margin:0; padding:0; } #nav { background:url("../images/nav-bg.jpg") repeat-x scroll 0 0 #FFFFFF; height:35px; line-height:35px; } #nav .menuitem{ padding: 0 7px; cursor: pointer; font-size: 11px; float:left; } #nav .menuitem, #nav .menuitem a { color:#CCCCCC; } #nav .menuitem:hover { background-color:#333333; } #nav .menuitem img { -moz-border-radius:3px; -webkit-border-radius:3px; border:1px solid #111; display:inline-block; margin-top: 4px; margin-left: 7px; height:24px; width:24px; } #nav a { display:inline-block; vertical-align:top; } .lol { display:inline-block; } #nav .right { float:right; } &lt;/style&gt; &lt;!--[if lt IE 8]&gt; &lt;style&gt; #nav .menuitem a { display:inline; zoom:1; } #nav .menuitem img { display:inline; zoom:1; border:1px solid red; vertical-align:top; } &lt;/style&gt; &lt;![endif]--&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="nav"&gt; &lt;div class="right menuitem"&gt; &lt;span class="lol"&gt;Welcome,&lt;/span&gt; &lt;a id="profile" href="http://localhost/usercp"&gt;user&lt;/a&gt; &lt;a id="profile-img" href="http://localhost/usercp"&gt;&lt;img src="http://cdn1.sbnation.com/profile_images/273745/battle_scars_fedor_emelianenko_by_wildestdreamz_small.jpg"&gt;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>This snippet suffered from the <a href="http://work.arounds.org/issue/27/floats-containing-float-right-expand-full-width-ie/" rel="nofollow">float:right width calculation bug</a> and I had to use inline-block workaround to get it to work right.</p>
    singulars
    1. This table or related slice is empty.
    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.
    1. This table or related slice is empty.
    1. VO
      singulars
      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