This is a fairly generic question about cross-browser compatibility.
At various points in a design I'm currenly working on the only way to achieve the layout and style that I want (without resorting to using images) is to use the display:inline-block
css style option. However, this is not supported by IE8 and other older browsers and this results in my design beign broken.
So there are two parts to my question 1 - Is there a method of achieving a similar or equivalent effect for IE8? 2 - If not, how best can I make my design degrade smoothly?
For your reference, here's an example of where this is being used in my design.
<div style="width:20px; height:20px; display:inline-block; background-color:rgb(200,120,120); margin-right:10px;"></div>Direct
It is a 20x20 pixel colour block to explain the colours in a chart.
More generally this issue arises whenever I want greater formatting & layout control over a particular bit of text etc within a body of text.
In the design I'm currently working on I'll be dropping support for the older browser types anyway since it's heavily reliant on the canvas element. However, I thought this would be a good question to ask as I've come across the problem several times before.
Thanks