Sunday, November 9

Wa-hoo!

Well, I needed something to cheer about since the Bears lost. Again.

Happily, I found it. I was able to change the properties of my template to fix the problem I was having with numbered lists.

Whenever I had a numbered list, it would look like this:
    1. Item One
    2. Item Two
    3. Item Three
    4. And so forth ...
But, I discovered a neat little bit of code that I could change and make my problem disappear (no pun intended).

I went into the HTML for my template and replaced
    .post ul {
    padding-left: 32px;
    list-style-type: none;
    line-height: 1.4em;
    }

    .post li {
    padding: 0 0 4px 17px;
    background: url(the url of my image) no-repeat 0 3px;
with
    .post ul {
    padding-left: 32px;
    list-style-image: url('the url of my image');
    line-height: 1.4em;
    }

    .post li {
    padding: 0 0 4px 17px;
    }
And now, when I choose to use an ordered list, I see this:
  1. Thing one
  2. Thing two
  3. Thing three
Isn't that so much nicer?

No comments:

Post a Comment

Sorry--I've had to close comments down because I've been getting so much spam.

Note: Only a member of this blog may post a comment.