Hi,
Just testing a site here in IE7 and I have italic font within one div. In the next div I want this to be normal but it seems to inherit from the above div. What is the best practice here... declare font-style:normal in the body tag and then change to just italic in the required div so that everything else will inherit from the body tag? Or is there anything like a "clear:font" function that will stop any inherited font behaviour? I have never came across anything like it but it could be handy. I'm guessing just adding font-style definitions to all subsequent divs would be the solution but it seems a bit extra hassle if you have a lot of content.
This issue only appears in IE7 so maybe its just a bug for it only. Any suggestions?
Just testing a site here in IE7 and I have italic font within one div. In the next div I want this to be normal but it seems to inherit from the above div. What is the best practice here... declare font-style:normal in the body tag and then change to just italic in the required div so that everything else will inherit from the body tag? Or is there anything like a "clear:font" function that will stop any inherited font behaviour? I have never came across anything like it but it could be handy. I'm guessing just adding font-style definitions to all subsequent divs would be the solution but it seems a bit extra hassle if you have a lot of content.
This issue only appears in IE7 so maybe its just a bug for it only. Any suggestions?