Jump to the post that solved this thread.
Not Solved Add a class in any starting table html code
#1
Not Solved
i want to add a class in any starting table html code for any pages. by default its showing <table width="100%" border="0" align="center">

i want to add a class on it
Reply
#2
Not Solved
then add what's the problem in it ?

align="center" class="anything"

remember in table html tag most of the css properties doesn't work as those works in a div element.
Reply
#3
Not Solved
i know how to add in every pages manually. but i want to add class in one place and then in every page where table html start the css will show
Reply
#4
Not Solved
then you have to use javascript for that
Reply
#5
Not Solved
No, just use the table selector in your css:
table {
   width: 100%;
   align: center;
   border: none;
}
You can also use tr and td. Have a look @ https://www.w3schools.com/css/css_table.asp
Tchat en français
Do not ask me help through PM or Discord

Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)