Read the statement by Michael Teeuw here.
read csv-data and put it in an array
-
@Perlchamp yep… and you could use divs(as row) and spans(as column) for the table, instead of table/tr/td
https://html-cleaner.com/features/replace-html-table-tags-with-divs/
-
@Perlchamp cool thing about the routine, if u decide to use div/span under instead is to fix the routine,
no mainline code has to change -
i don’t think so. therefor i’m a little bit toooooooo retro ;-)
-
@Perlchamp each to their own!..
-
if i do this :
//bodyTDimage.className = "td-image";
it looks like:
and i ask me, WHY css is not working only for this cell !!
-
@Perlchamp td has a class, you are overriding it…
you want that class on the text in the td, not the td itself…table, th, tr, all have classes… you can ADD a class instead of SET a class
+= adds to
-
but the other cell (name plus age) works, WHY ?
-
@Perlchamp not a css class wizard
-
no i don’t override the general td-class, cause i use:
.modulname .classname
{
font: 16px;
…
} -
@Perlchamp but you SET the ONLY classname to be yours… classame=
wipes out what was thereyou do not append yours to the list of classNames already assigned className +=