/    Sign up×
Community /Pin to ProfileBookmark

styling an li…

Hmm… How do you style an li that has an id? I know how to do it with normal li’s but i cant remember/figure out how to style styled one. When i say li i mean

[code]<li>[/code]

Just in case no one knows what I’m talking about :p

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@JonaAug 13.2004 — <i>
</i>#myLI {
color: red;
list-style-type: square;
}


<i>
</i>&lt;li id="myLI"&gt;List item.&lt;/li&gt;
Copy linkTweet thisAlerts:
@NeczyauthorAug 14.2004 — easy enough... thanks!
Copy linkTweet thisAlerts:
@JonaAug 14.2004 — [font=trebuchet ms]Welcome.[/font]
Copy linkTweet thisAlerts:
@Ben_RogersAug 14.2004 — (This will probably become a habit, but I just think listing the official info is a good idea.) [url=http://www.w3.org/TR/REC-CSS2/selector.html#id-selectors]Further reference[/url]
Copy linkTweet thisAlerts:
@NeczyauthorAug 15.2004 — definately helpful, thanks!
Copy linkTweet thisAlerts:
@Ben_RogersAug 15.2004 — No problem. I guess it's a good habit, then. ?
×

Success!

Help @Neczy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...