Following StyleSheet class will position the DIV tag at the center of the screen. This is often required when showing the "Please Wait..." or "Processing..." message while processing Ajax request.
Your comments are always welcome !
DIV.centered
{
border: 0;
background-color: #6095b3;
height: 10%;
width: 20%;
position: fixed;
_position: absolute;
left: 40%;
top: 40%;
color: black;
z-index: 100;
}
8 comments:
ZOMG!
Thank you!
totally needed that, so if i use % instead of number of px, ill be fine, sweet
thankies!
^__^
I had no idea before going through your blog that DIV can be used in such a way.Thanks for your trick and hope to receive new tips soon. Thank from pamela.
In web2 standard, now a days div can be a substitute of many tags. So please highlight those areas in your new post to show the power of div tag and its usefulness in search engine.
Thanks a lots
Exactly nice explanation on the div tag. Through above code we can set in center div tag.
Hello, Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
Excellent!!!Thank you!
I wanted to thank you for this great blog! I really enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
Post a Comment