What is external Style Sheet? How to link?

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
890
Points
28
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

Member
Registered
Joined
Sep 14, 2012
Messages
32
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
Newer Threads
Latest Threads
Recommended Threads
Replies
10
Views
4,523
Replies
11
Views
4,780
Replies
4
Views
3,236
Replies
14
Views
2,368

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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