Click to See Complete Forum and Search --> : Inserting file CSS in HTML code - simple question


toplisek
02-02-2006, 02:47 AM
I have code to insert CSS in HTML file. Is this correct?
It does not work CSS if I put:

<link rel="stylesheet" type="text/css" href="css/stylesheet.css" >


How to do this?Need help...

Fang
02-02-2006, 02:57 AM
Is the path correct?
Have you removed the style element from stylesheet.css document?

toplisek
02-02-2006, 03:15 AM
Path is O.K. But I have tested again. Problem was in directory css.
If I put in the same directory as all files (HTML), than it will work.

But if I put in directory CSS stylesheet.css, it will not work correctly.

pcthug
02-02-2006, 03:31 AM
if the directory CSS is higher then that of your html files you will have to use

<link rel="stylesheet" type="text/css" href="../css/stylesheet.css" >