How in html5 table have a line separate each row or each column or both?

WHEN I HAVE JSON data from database to be inserted dynamically in an html table - how in html5 table have a line separate each row or each column or both?

table not exist created with javascript from JSON DATA…

That’s a bit of a vague question because we have no idea what table structure you are ending up with and what we are allowed to target with the css. :slight_smile:

Putting a bottom border on a table row is as simple as saying .table td{border-bottom:1px solid #000} (assuming the table is also set to border-collapse:collapse).

I think we need a bit more information to work with and perhaps explain why you are having trouble with applying a border? I’m assuming that there are more complex details to consider.

fixed thanks

was a data table for rates in a car rental site. each row appeared 8 rows category, photoCar/modelCar, priceLow, priceLow7+days etc for high and mid seasons