These are my recommendations:
Move all styling declarations to an external .css file. Again, keeping ...
1. This is not OOP
Ask yourself one simple question: what would happen if you remove words "class", "DBX" and "static" from your code?
Nothing would happen. It would continue to work. Because your code is essentially procedural. There is not a hint of OOP, other than a Halloween costume.
An object is not a collection of ...