Php and java code not following div style?

fixed it, sorry

In my site all is working well with my div styles, except for the one piece of php and one piece of javascript. They both ignore the div style, why? How do I fix this.

The sloppy page that I’m working on is

Thank you for any help :D,