z-index only works for positioned elements such as position: relative etc...
dennishall
Junior Poster in Training
71 posts since Nov 2009
Reputation Points: 10
Solved Threads: 1
Post your codes. We can't find the problem and help you without seeing any codes.
Zero13
Practically a Master Poster
624 posts since Jan 2009
Reputation Points: 120
Solved Threads: 139
The CSS is fine, actually like it, the table and div will appear next to each. Check the class name of the table and div that was correctly related with the CSS class.
If it is ok. It may be missing the opening or closing tag in the HTML.
You said that you were using the sql_query fetch, check your HTML source code inside the script file (PHP or Asp etc.).
The server side script produce simply HTML, so check the view source in browser when the script was processed, or validate these source codes. Here is W3C validator .
Hope this help !
Zero13
Practically a Master Poster
624 posts since Jan 2009
Reputation Points: 120
Solved Threads: 139
When dealing with dynamic data, I have used max-wirdth along with the width settings and this works fine for divs that are left and right (side-by-side).
dennishall
Junior Poster in Training
71 posts since Nov 2009
Reputation Points: 10
Solved Threads: 1