Crossbrowser: Css rule not parsed in Explorer 8 (div#main>div)

My JQuery app is working properly in all the browser except Explorer 8..

And what is not make my app working is that is not parsed this css rule:

  div#main>div {

Someone can tell me please how can i write this differently to be accepted in Explorer 8?

If needed this the structure that need to be styled:

 <div id="main">
     <div id="1">
     <div id="2">
     <div id="3">

Thank you very much!


As @Alex said there was nothing wrong with the rule itself. But believe me was not parsed.

I had to to include that rule in a separate file:

    <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="css/ie.css" />

Is a file with just that rule. But now everything works fine.

Need Your Help

Convert first letter of given file to lower case

linux bash shell

I want to convert the 1st letter of each line to lower case up to the end of the file. How can I do this using shell scripting?

SQL: parse the first, middle and last name from a fullname field

sql sql-server tsql parsing

How do I parse the first, middle, and last name out of a fullname field with SQL?