Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts

  • jaideepchauhan 10:22 am on May 2, 2009 Permalink | Reply  

    Ie 6 double margin problem ? Get rid in one line :) … 

    Usually Ie6 trouble a lot when it comes to float on the same direction with margin

    the simle way to solve the double margin problem in ie6 is by adding:

    display: inline; /* getting rid of double margin in ie6 */

    example below:

    float {
    background-color: #999999;
    float: left;
    width: 200px;
    margin-left: 20px;

    display: inline;
    }

     
  • jaideepchauhan 6:39 pm on April 28, 2009 Permalink | Reply
    Tags: css, filter, ie6, ie6 fix, png, png Background   

    Using png background in ie6 in two lines 

    guys try the simplest way to get rid wid png background problem in ie6 here it goes

    #<selector name>{
    background-image: none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/
    <yourpngimage>.png,sizingMethod=’scale’);

    }

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel