|
Java Syntax for making 2 divs same height dynamically.
The title may not make much sense but its a little tricky to explain in a sentence.
What I have is 2 div's that are layered one on top of the other. The reason why is because 1 div has opacity settings (background) and the other is content (on top). The content will be dynamic coming from the database, so this is why I would like to set the "div Background" with the "div dontent" to match in height.
What I basically need is a way for "div content" to tell "div background" what size it should be depending on how long "div content" is.
I would really appreciate it if I could get some help with this issue.
|