i m working on displaying a shopping cart details in tableless format.
But the left border of the items "price" and "quantity" doesnt equal to the height of "item name".
Put tabular data in a table. That's what it's for.
To do otherwise is poor coding, as you lose all meaningful associations of that data. These are not paragraphs.
thank ralph for clarifying.
i will use tables for it
Yes, tables aren't bad as such. They just have their place. If you have data in rows and columns, that's where you need a table, as it relates those rows and columns together meaningfully.