Howto change table layout?
Permalink
Hi,
I am building my own theme, and also would like to change layout/formatting of a table. I would like to do this via CSS. I am familiar with CSS. As the table is inserted via TinyMCE editor, I guess I need to modify TinyMCE? Or do I every time need to add an id to the html table code?
I am building my own theme, and also would like to change layout/formatting of a table. I would like to do this via CSS. I am familiar with CSS. As the table is inserted via TinyMCE editor, I guess I need to modify TinyMCE? Or do I every time need to add an id to the html table code?
All tables will look the same. So, as I already thought, I need to add the table formatting code in my CSS.
I was a bit confused, because editing it in TinyMCE doesn't show my formatting. But I just find out, that I need to modify the typography.css to match my website layout.
Thanks.
This issue can be close.
I was a bit confused, because editing it in TinyMCE doesn't show my formatting. But I just find out, that I need to modify the typography.css to match my website layout.
Thanks.
This issue can be close.
I am not sure I understood what you're trying to accomplish.
Is the table you are talking about unique in it's style or will all tables be like that ?
If the latter is the case, why not just style the general elements like 'table', 'tr', 'td' in your CSS ?
If the table is supposed to be unique, just do as you said, add a class or an id to it.
Greeting,
pureTest