23.Displaying it properly

Oops, try again. It looks like your li’s padding-top isn’t 5px.But i have it on my code.

li {
border: 2px solid #000000;
font-family: Futura, Tahoma, sans-serif;
color: #ffffff;
border-radius: 5px 5px;
background-color: #cc0323
I also tried
padding:5px 5px 5px 5px;

neither worked.

You are missing a semi colon here thus the code doesn’t work

I wanted to know about the positioning of CSS.
Absolute or relative positions makes no difference…the margin value is making the difference whether i type position value or not.
Why do we use the positons then when margin value is enough to make the difference?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.