I have written a css for div positioning. here is the css
background-color: white;
border-style: outset;
margin: 115px 0px 0px -40px;
When I see the output in firefox then div position is ok but when I see this in chrome then output gets distorted due to margin: 145px 0px 0px -40px;
for chrome margin should be margin: 115px 0px 0px -40px;
So I search google and found a snippet and I applied but did not work. which was
style="width:310;height:402;background-color:white;border-style:outset; if webkit (margin:115px 0 0 -40px) else (margin:146px 0 0 -40px);"
So guide me how could I write conditional inline css for chrome...any idea. Thanks
if elseconditions in css... wherever you found the snippet - this is wrong. Post some more of your markup, i find it very strange, that Chrome and FF differ that much. Probably there is a problem in your html.