Hovering over div and adding HTML/CSS is breaking the flow of my page -


when hover on div js inserts new html, breaks flow in page. think css margin in title class, want title centered. best way fix this?

.title {     width: 100%;     height: 30px;     text-align: center;     margin: 0 auto;     background-color: black;     color: snow;     margin-top: 23%;     margin-bottom: 0; } 

fiddle http://jsfiddle.net/lee45276/t8xfto77/

just add vertical-align: top:

  .project {         //your stuff         vertical-align: top;   } 

here fiddle working:

http://jsfiddle.net/t8xfto77/1/


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -