Re: [jQuery] Re: list bullet style

2009-11-24 Thread Karl Swedberg
Why not use an and wrap the text of each in a ? It's not pretty, but it works. List Item List Item List Item ol li {font-weight: bold; } ol li span {font-weight: normal; } If for some reason you can't put the spans in the actual markup, you could do $('ol li').wrapInner('') --K

[jQuery] Re: list bullet style

2009-11-24 Thread KeeganWatkins
i'm not sure i understand... hard-coded numbering? something like this (?) : HTML 1 List Item 2 List Item 3 List Item if you are looking for a numbered list, you should be using the tag, although the tag is going to have the same limitations... you can set a background image for the numbers,

[jQuery] Re: list bullet style

2009-11-23 Thread dnagel
Not quite what I'm after... Wanted to use the LI's native numbering and be able to bold just that, not the content inside the LI. Right now I have spans inside the LI with hard coded numbering to get the bold effect. I'm just trying to accommodate a client. Putting the spans around the inner co

[jQuery] Re: list bullet style

2009-11-23 Thread KeeganWatkins
what do you mean by "snappy"? you could always just use CSS (not sure how this questions relates to jQuery or JavaScript at all) to replace the bullet with your own image: HTML: List Item 1 List Item 2 List Item 3 CSS: ul li {list-style-type:none;background:transparent url(path/to/bold- bullet.