S Smee Well-Known Member Licensed User Longtime User May 17, 2017 #1 I am creating a table with the executehtml code in dbutils but I am unable to centre the text in the css section the current css now looks like this B4X: HtmlCSS = "table {width: 100%;border: 1px solid #cef;text-align: middle; }" _ & " th { font-weight: bold; background-color: #acf; border-bottom: 1px solid #cef;text-align: middle;}" _ & "td,th { padding: 4px 5px; }" _ & ".odd {background-color: #def; } .odd td {border-bottom: 1px solid #cef; }" _ & "a { text-decoration:none; color: #000;}" Can anyone advise where i am going wrong Cheers
I am creating a table with the executehtml code in dbutils but I am unable to centre the text in the css section the current css now looks like this B4X: HtmlCSS = "table {width: 100%;border: 1px solid #cef;text-align: middle; }" _ & " th { font-weight: bold; background-color: #acf; border-bottom: 1px solid #cef;text-align: middle;}" _ & "td,th { padding: 4px 5px; }" _ & ".odd {background-color: #def; } .odd td {border-bottom: 1px solid #cef; }" _ & "a { text-decoration:none; color: #000;}" Can anyone advise where i am going wrong Cheers
R ronell Well-Known Member Licensed User Longtime User May 17, 2017 #2 B4X: text-align: center; '<-- not sure Upvote 0