The standard generally says if top/bottom, left/right are auto, then default them to their position: static
values:
http://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width
http://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-height
More Related Contents:
- CSS positioning things differently between browsers [closed]
- Why can’t an element with a z-index value cover its child?
- How can I center an absolutely positioned element in a div?
- Why bottom:0 doesn’t work with position:sticky?
- Understanding z-index stacking order
- Difference between style = “position:absolute” and style = “position:relative”
- Make div stay at bottom of page’s content all the time even when there are scrollbars
- Why does applying a CSS-Filter on the parent break the child positioning?
- Center a position:fixed element
- My position: sticky element isn’t sticky when using flexbox
- Why does `overflow:hidden` prevent `position:sticky` from working?
- How to make fixed header table inside scrollable div?
- If you specify `bottom: 0` for position: sticky, why is it doing something different from the specs?
- What are `scrolling boxes`?
- Fixed sidebar navigation in fluid twitter bootstrap 2.0
- What are the default top, left, botton or right values when position:absolute is used?
- Difference between static and relative positioning
- Set Google Maps Container DIV width and height 100%
- IE7 relative/absolute positioning bug with dynamically modified page content
- pure CSS multiple stacked position sticky?
- CSS: display:inline-block and positioning:absolute
- How to stick table header(thead) on top while scrolling down the table rows with fixed header(navbar) in bootstrap 3?
- Targeting position:sticky elements that are currently in a ‘stuck’ state
- Absolute positioning ignoring padding of parent
- object-fit, object-positioning and absolute positioning
- position:fixed when left/top/right/bottom aren’t specified – desired results in FF/IE, but not in Safari
- position relative in firefox [duplicate]
- Have a fixed position div that needs to scroll if content overflows
- How to use CSS position sticky to keep a sidebar visible with Bootstrap 4
- Why magin:auto is not enough to center position absolute or fixed?