Jump to content

problems with the css file


zunky

Recommended Posts

Hello everyone!

I am a newbie to html and css. And I just came across a problem which is the following.

I start the html with this.

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="css/txt" href="main_page_style.css">
</head>
The linking works so if i modify the css file it make the change.But I just find out if I open it with Chorme. Otherwise if I open it with firefox or IE there are no styling on the html like there would be no css.
I don't know what is the problem because in Chrome it looks perfect.
Please help me.
Looking forward some help
Thanks
Link to comment
Share on other sites

It is interesting that this validates with no error...

<!DOCTYPE html><html><head><meta charset="utf-8"/><title>t</title><link rel="stylesheet" type="garbage1/garbage2" href="filename.css"/></head><body></body></html>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...