I am encountering an issue with an unordered list where the list items are displaying inline, and the layout is quite complex. To better explain, here is the Fiddle:
- Fullscreen: http://jsfiddle.net/spryno724/F5CFD/embedded/result/
- Code: http://jsfiddle.net/spryno724/F5CFD/
If you observe, the unordered list items are adjusting to the height of the tallest item using the display: table-cell
property, except for the first item. This setup allows the first item to have a vertical line extending the full height of the list, with the letter "A" aligned to the top vertically.
This layout performs well in most browsers, except for Internet Explorer 8[1]. I have included some screenshots for reference in case you do not have access to IE8:
- Optimal rendering in Chrome:
- IE8 displaying the same page, with the IE developer tools highlighting the inconsistent width of the third list item:
Do you have any suggestions on how to maintain the same appearance as seen in Chrome (or any browser other than IE1-IE8)?
Appreciate your assistance.
[1] Why must you be so difficult, IE8?