website - CSS Spacing of News Release Links -


i looking space these news releases out nicely there gap in between each posting. have included image below explain. tried increase padding on following did not work. help

.headline { position: absolute; padding-top: 15px; } 

http://www.petrowestcorp.com/home/

enter image description here

made press releases following:

.feedburnerfeedblock ul li {   list-style-type: none;   text-align: left;   font-size: 12px;   line-height: 1.5em;   overflow: auto;   padding-top: 10px; } 

here made above css code:

enter image description here

as suggested elsewhere in answers, span cannot given padding-top/bottom unless explicitly set display property behave block/inline-block level elements. hence, instead of setting property on span, set li tag. however, added overflow:auto because css did not contain elements had set position:absolute spans. should set bit right well.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -