css - Fixed position p is more pixels from bottom than specified -


this p within nav fixed position, doesn't matter, right? tried using fixed position way seemed place text tucked curve of nav (which has big border-radius on top right partly off-screen, creating tab feel). take element out of flow, doesn't place 1 expect. it's located here.

#directory {     position: fixed;     bottom: -95px;     left: 0px;     width: 125px;     height: 125px;     border-top-right-radius: 50px;     z-index: 20; } #directory p {     font-size: 0.8em;     position: fixed;     left: 15px;     bottom: 5px;     z-index: 21; } 

change #directory p position:relative;

edit: not sure why down vote. so, added screenshot show changing position relative in fact work.

enter image description here


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -