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; }
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:
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
Post a Comment