It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

Can you have two CSS for one web page?page

Can you have two CSS for one web page?page

Postby Albert1955 on Fri Aug 08, 2008 10:41 am

hi
I have a site using one external style sheet, but for one page only I want to add some extra style rules. Can I link to both style sheets or do I have to combine them all and rename that sheet, and then link the one page to that ???
:oops:
Albert1955
 
Posts: 9
Joined: Sat May 26, 2007 9:06 am

Postby jayantchiddarwar on Fri Aug 08, 2008 11:22 am

Yes you can add some extra style rules in another stylesheet and attach that stylesheet to the page you need.
You can add multiple stylesheet in one html page.

eg.
<link href="css/style1.css" rel="stylesheet" type="text/css" />
<link href="css/style2.css" rel="stylesheet" type="text/css" />
User avatar
jayantchiddarwar
 
Posts: 2
Joined: Fri Aug 08, 2008 7:37 am
Location: Pune India

Postby Albert1955 on Sat Aug 09, 2008 1:41 am

thanks a lot for that info
have done it and it works just fine
yore very helpful
A :D
Albert1955
 
Posts: 9
Joined: Sat May 26, 2007 9:06 am


Who is online

Users browsing this forum: No registered users and 0 guests