TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Static Positioning
Abhimanyu K Vatsa
Apr 30, 2020
4.8
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Let's look, how to position the
statically.
JavaScript Static
The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document. Normally we would not specify this unless we needed to override a positioning that had been previously set.
To read more above static positioning, visit
here
#div-1
{
position:
static
;
}
Browser Versions that support JavaScript Static
1. Google Chrome 49.0
2. IE 13.0
3. Mozilla Firefox 45.0
4. Apple Safari 9.0
5. Opera 36.0
Code demo can be found
here
To read about JavaScript Static, visit
here
static positioning
Next Recommended Reading
Static Members and Prototype in JavaScript