Herbman wrote:
David Dorward <do*****@yahoo.com> wrote in message
news:<bn*******************@news.demon.co.uk>...
Herbman wrote:
I'm sort of new to CSS and was wondering if I can render a
"table"
http://216.189.167.195/testsurvey/question.jpg
I'm having trouble alingning things together. Can anyone provide
a sample for me. I would greatly appreciate it.
While you /could/ duplicate that layout using CSS (although using
CSS that works in MSIE would be rather harder), it looks very much
like tabular data to me.
How can this be done in CSS. I don't want to use tables.
Why is that? Don't you believe that tabular data should be marked up as
<table>? Sure, tables are used in way too many occasions but in this
case I think the use of <table> is the most meaningful markup. Think
about it: Satisfaction, 1,2,3,4,5, Importance, Not at all, A bit, Very,
Comments, Products, Services and Support are all table headers. Or you
could say that Products, Services and Support are table data and add
some header cell for that column, too.
After all, what is an table if not a grid where data is in the inner
cells and column and row headers are on the outer cells?
If you still think that this isn't a table, you have to use "display:
table", but be warned that MSIE doesn't support that.
--
Mikko