View Full Version : css file and html file

04-02-2011, 04:18 AM
Hi all,

When I have two files one for css and the other for html, I put the link for css file on the html file but, when I add something on the css file. It doesn't change anything on the html file.

Could someone help why?

04-02-2011, 04:45 AM
Post the code you use to link the css file to the html file.

04-02-2011, 09:30 PM
you have to add css file as below in your html file

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

give a exact path in href attribute.

04-03-2011, 03:43 PM
This is what I have put.

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

But, like I said before, It doesn't change anything in my html file.

Thank you,

04-03-2011, 03:54 PM
Please show us ALL your code. Doctype, HTML and CSS.

Better still give us a link to your site.

But why would it change your HTML? anyway?