What is external Style Sheet? How to link?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,844
Points
0
I am building a Big website that will have many pages and folders. I have 1 style sheet.

How do I add the style sheet to "ALL" of these folders? I didnt have this problem before I started to put the pages in SEPARATE folders. Now that each page has its own folder it no longer reads my style sheet unless its in the SAME folder.
 

Darius

New member
Joined
Sep 14, 2012
Messages
80
Points
0
It is not wise to have too many style sheets.
You just link from your page to the style sheet, like
<link rel='stylesheet' type='text/css' href='/files/main_style.css?1362855908' /> in head section of html code.
You can create main css sheet and link it to all your pages.
As well, you can create small local additional sheets linked to local pages.
The possibilities are limitless.
 
Older threads
Replies
0
Views
3,581
Replies
8
Views
7,751
Replies
0
Views
3,135
Replies
15
Views
12,995
Newer threads
Replies
2
Views
4,306
Replies
3
Views
2,999
Replies
24
Views
13,277
Replies
1
Views
3,540
Latest threads
Replies
1
Views
24
Replies
1
Views
195
Replies
0
Views
205
Replies
0
Views
238
Replies
5
Views
555
Recommended threads
Replies
2
Views
2,922
Replies
9
Views
1,924
Replies
1
Views
7,236
Replies
30
Views
6,692
Replies
5
Views
4,312

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top