Dashboards & Visualizations

how to change table alignment in HTML?

kdimaria
Communicator

I have a dashboard coded in HTML with two tables that are almost exactly the same, just with a different source. but they have the same number of fields but one of the tables has the results text aligned to the left and the other has it aligned to the right..How do you fix this?

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

You may be able to add align options to your tables, but the preferred method is to use CSS.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You may be able to add align options to your tables, but the preferred method is to use CSS.

---
If this reply helps you, Karma would be appreciated.
0 Karma

kdimaria
Communicator

I figured this out but can't delete the question. I forgot to add the visualization with mvc. it fixed the problem.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...