View Full Version : HTML message box


Rodie
10-31-2005, 07:34 PM
Hi everybody

I would like to display a kind of message box above my webpage that displays the state of the processing (javascript being working).
That message box should be refreshed from javascript.

My question is: is there an html component I can use for that message box ?
A <div> ???
Thanks a lot :cheer:

pb&j
11-01-2005, 05:20 AM
do you have an example of what you are trying to do?

Rodie
11-01-2005, 04:59 PM
Hi pb&j

I found that:
<div style="z-index:1; position:absolute; top:40%; left:40%"> txt </div>
It works ok. But I would like to center this <div> vertically and horizontally in the screen>. vertical-align and horizontal-align don't work here...

What I found the best is the top and left set to 40%. But if you have any better idea ... :)
Thanks a lot