My 2 Cents Css tricks

Rating this post

  • Good

    Votes: 0 0.0%
  • Poor

    Votes: 0 0.0%
  • Bad

    Votes: 0 0.0%

  • Total voters
    1
  • Poll closed .
Status
Not open for further replies.

davikerkrish

White Belt
Hi,

I red new method to fix rendering problem in IE. I'll give one example

padding: 2em;
border: 1em solid green;
width: 20em;
width/**/:/**/ 14em;

The first width command is accepted by all browsers the second by all users except IE6. So Any command that comes second that overrides a previous command.

If we used empty comment(/**/) before the colons, IE6 ignore this command.

Hope you all understand. Let me know if you have any quires.
 
Status
Not open for further replies.
Top