/    Sign up×
Community /Pin to ProfileBookmark

2 styles in one class?

is it appropriate or a total disgrace?

ex. <h2 class=”fontstyle linkstyle”>

otherwise it does work … like fontstyle has the font styling and the linkstyle the link styling

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesJan 15.2005 — [i]From the HTML 4.01 Specification:[/i]

[b]class = cdata-list [CS]

This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.[/b]


[i] http://www.w3.org/TR/html401/struct/global.html#adef-class [/i][/quote]
Copy linkTweet thisAlerts:
@SiddanauthorJan 15.2005 — super great, cus I have never seen anyone do that. Bu now I know it is all fine
Copy linkTweet thisAlerts:
@TriumphJan 16.2005 — I just read this article a couple of days ago: http://www.evolt.org/article/Ten_CSS_tricks_you_may_not_know/17/60369/

Check out number 2. ?
×

Success!

Help @Siddan 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 5.8,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...