[jQuery] Re: list bullet style
i'm not sure i understand... hard-coded numbering? something like this
(?) :
HTML
<ul>
<li>1 <span>List Item</span></li>
<li>2 <span>List Item</span></li>
<li>3 <span>List Item</span></li>
</ul>
if you are looking for a numbered list, you should be using the <ol/>
tag, although the <ol/> tag is going to have the same limitations...
you can set a background image for the numbers, or separate the
content into nested <span/> tags, but i don't know of any way to bold
just the number otherwise... the CSS pseudo-class ":first-letter" will
target the first character, not the bullet or number.
On Nov 24, 12:10 am, dnagel <grandna...@gmail.com> wrote:
> 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 content seems like 6 of one to
> me...
>
> Thx,
>
> D.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home