faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 4 people (50%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

When I place the default link styles in an external stylesheet, the styles stop working. Why?

Mar 29th, 2002 04:27
Choo Hoo, Himanshu Tayal,


Make sure you have a link to the external stylesheet in your head tags. 
For example if you named your external stylesheet index.css then in 
your head tags you should have:

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

Assuming of course index.css is in the same directory as the webpage 
that is calling it, if it isn't just change the path to reflect where 
you put your CSS file. **Note - the / at the end is to make it XHTML 
valid**