/    Sign up×
Community /Pin to ProfileBookmark

Different CSS for one page?

Hi

Is there a quick way of allowing two different css for one page?

I have the top of a page I want to be the CSS of its main website, and then the other CSS is that of a vbulletin forum. Is there a way of doing this with html code somehow and now creating one complex css file, im only a newbie 😮

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 23.2005 — yes you can link to different CSS like this:
<i>
</i>&lt;link rel="stylesheet" type="text/css" href="mainstyle.css"&gt;
&lt;link rel="stylesheet" type="text/css" href="vBstyle.css"&gt;
Copy linkTweet thisAlerts:
@Daniel_HauthorNov 23.2005 — Hi

Many thanks for the reply ?

I've tried this but still not working ?

Here's what I have.....



<!-- / CSS Stylesheet --><link rel="stylesheet" type="text/css" href="http://www.shoppingtelly.com/skins/st/shoppingtelly.css">

*CODE FOR STUFF AT TOP HERE*

<link rel="stylesheet" type="text/css" href="http://www.shoppingtelly.com/forum/clientscript/style-534cee8d-00106.css">

*FORUM CODE HERE*



I'm probably missing something obvious, is there a end code I have to put before the second css or anything, thanks.
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 23.2005 — <i>
</i>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;link rel="stylesheet" type="text/css" href="mainstyle.css"&gt;
&lt;link rel="stylesheet" type="text/css" href="vBstyle.css"&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;!-- Your content here --&gt;
&lt;/body&gt;
&lt;/html&gt;
×

Success!

Help @Daniel_H 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.15,
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,
)...