Posted by Andy Dingley on 05/27/06 02:52
On 26 May 2006 15:54:11 -0700, sachaburnett@yahoo.com wrote:
>I'm just learning html and css coding and would like to know if it's
>possible to add an additional blank line
Don't (EVER !) "add blank lines". Instead take the break you already
have and make it render into a larger size.
Adjust the margin-top and margin-bottom properties of <li>
You _might_ change padding-top and padding-bottom too, if you understand
the CSS box model. Try changing the background colour on <li> first and
seeing what effect these changes have.
Be aware that the default stylesheet for <ul><li> is different between
browsers. Some space the lists with margins, some with padding. If you
want to change these values consistently across browsers, set all of
them (even if you set most to 0).
[Back to original message]
|