Jump to content

Linking html with css troubles

Víctor Pan

Recommended Posts

Hello, I’m a beginner and I’m trying to link my html file with my css file. Mi css file is inside a folder called css, in the same folder that the html file. I’ve written in the head of my html file:

 <link rel=”stylesheet” type=”text/css” href=”css/styles”>

But the thing is I can not change my tags background colors neither nav, neither footer, content…

I don’t know what I’m doing wrong but maybe you can help with that. Thank you.

estilos.css index.html

Link to comment
Share on other sites

The only thing that use nested curly braces are the media queries, for every opening curly brace '{' there must be an closing curly brace '}' to go with it, the first anchor selector doesn't have closing, as do many more, one even ends with ']' instead.

Edited by dsonesuk
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...