I know that using tables in html as part of the layout is bad practice, and so would like to know how to style the example you can see here using the <ul> element instead of a table. All spacings and font sizes need to remain the same.
Any help would be much appreciated.
This is how I would do it:
(The idea is to use the
box-sizingproperty in order to be able to setwidth: 25%safely.)HTML:
CSS:
Live demo: http://jsfiddle.net/dLBYe/8/