2 replies [Last post]
turco
turco's picture
Offline
Regular
Hungary
Last seen: 9 years 32 weeks ago
Hungary
Timezone: GMT+2
Joined: 2008-11-17
Posts: 28
Points: 14

Hi,

This question is related to foldering each section of your web site.

my site: http://www.studentlife.hu

Should i create folders in my hosting root folder and each .html will have its own style sheet?

Or as its now, i have put all the .html files in the root folder and i am using one single style sheet.

Which is the right option?

tia

turco

Josh Connerty
Josh Connerty's picture
Offline
Enthusiast
Wiltshire, England
Last seen: 12 years 13 weeks ago
Wiltshire, England
Joined: 2008-10-17
Posts: 268
Points: 23

You can do a mixture of the

You can do a mixture of the two.

When you reference your stylesheet in your head section you can add a URI.

For example if I wanted to link a stylesheet on one of my sites I would do:

<link rel="stylesheet" media="screen" type="text/css" href="http://jjcon.co.uk/style.css" />

hope this helps.

turco
turco's picture
Offline
Regular
Hungary
Last seen: 9 years 32 weeks ago
Hungary
Timezone: GMT+2
Joined: 2008-11-17
Posts: 28
Points: 14

Thx Josh, i got the idea now

Thx Josh, i got the idea now Smile