Monday, November 12, 2007

CSS in IE

1)IE not recognise css syntax if there is no space between the attribute.

table.title_bg
{
background:transparent url(/wps/images/ibs/hlbrib_bimb/sp_title_bg.gif)top left no-repeat;
}
==>work in firefox and opera but not IE (not space btw closing bracket and top)


table.title_bg
{
background:transparent url(/wps/images/ibs/hlbrib_bimb/sp_title_bg.gif) top left no-repeat;
}
==>work in IE

#.bodytext_9:hover { TEXT-DECORATION: none}
=>IE do recognise this as comment. Use /* comment */







No comments: