开发者

Having trouble applying style to unordered lists

开发者 https://www.devze.com 2023-04-12 16:40 出处:网络
I have never had a problem with this in the past. For one reason or another, I cannot figure out how to do the following (jsFiddle included).

I have never had a problem with this in the past. For one reason or another, I cannot figure out how to do the following (jsFiddle included).

  1. Add bullets to the list (they are not showing up).
  2. Add styling to the list, so that the bullets of the list do not over lap the border of the div container of which the开发者_开发知识库y are inside.

These are both very basic desires, however something is just not right with what I am producing.

Please take a look here for more details.

Thank you,

Evan


You should add a padding-left to your <ul>, as the bullet points are being chopped off.

Demo: http://jsfiddle.net/DyeUy/11/

This article is a bit dated, but still a great one to look at for help with lists: http://www.alistapart.com/articles/taminglists/

0

精彩评论

暂无评论...
验证码 换一张
取 消