Hi,
I am a newbie to CSS , I have an issue in my project
its java based web app, all the pages are looking fine
IE6,Firebox...b ut the problem is appearing in IE7
basically some div class heights are not showing the object properly
how to fix... If I increase the height parameter then the page is not
appearing properly in IE6
can we have some conditional parameter in the css ..something like
this
mainblock:
{
margin: 0em 0em 0em 0em
height:36%
/* I think the following will overwrite the height for IE 7
only ..Isn' it?*/
<!--[if IE7]>
height:50%
<![endif]-->
}
but its not working fine, I think the syntax is wrong... how to achive
this ? I dont want to have multiple css file for each and having the
reference (rel) in all the documents..
Thanks
MSK.
I am a newbie to CSS , I have an issue in my project
its java based web app, all the pages are looking fine
IE6,Firebox...b ut the problem is appearing in IE7
basically some div class heights are not showing the object properly
how to fix... If I increase the height parameter then the page is not
appearing properly in IE6
can we have some conditional parameter in the css ..something like
this
mainblock:
{
margin: 0em 0em 0em 0em
height:36%
/* I think the following will overwrite the height for IE 7
only ..Isn' it?*/
<!--[if IE7]>
height:50%
<![endif]-->
}
but its not working fine, I think the syntax is wrong... how to achive
this ? I dont want to have multiple css file for each and having the
reference (rel) in all the documents..
Thanks
MSK.
Comment